[PD-cvs] externals/pdp/system pdp.c,1.5,1.6

Tom Schouten doelie at users.sourceforge.net
Fri Sep 1 15:45:33 CEST 2006


Update of /cvsroot/pure-data/externals/pdp/system
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv2628/system

Modified Files:
	pdp.c 
Log Message:
pdp current darcs merge

Index: pdp.c
===================================================================
RCS file: /cvsroot/pure-data/externals/pdp/system/pdp.c,v
retrieving revision 1.5
retrieving revision 1.6
diff -C2 -d -r1.5 -r1.6
*** pdp.c	16 Dec 2005 01:05:38 -0000	1.5
--- pdp.c	1 Sep 2006 13:45:31 -0000	1.6
***************
*** 23,26 ****
--- 23,27 ----
  #include "pdp_post.h"
  
+ static int initialized = 0;
  
  /* all symbols are C style */
***************
*** 92,95 ****
--- 93,97 ----
  void pdp_rawin_setup(void);
  void pdp_rawout_setup(void);
+ void pdp_metro_setup(void);
  
  
***************
*** 106,114 ****
  void pdp_setup(void){
      
!     /* babble */
!     pdp_post ("PDP: pure data packet");
  
  #ifdef PDP_VERSION	
!     pdp_post("PDP: version " PDP_VERSION );
  #endif
  
--- 108,118 ----
  void pdp_setup(void){
      
!     if (initialized) return;
  
+     /* babble */
  #ifdef PDP_VERSION	
!     pdp_post("PDP: pure data packet version " PDP_VERSION );
! #else
!     pdp_post ("PDP: pure data packet");
  #endif
  
***************
*** 176,179 ****
--- 180,184 ----
      pdp_rawin_setup();
      pdp_rawout_setup();
+     pdp_metro_setup();
  
  
***************
*** 221,225 ****
  #endif
  
! 
  
  
--- 226,230 ----
  #endif
  
!     initialized++;
  
  





More information about the Pd-cvs mailing list