[PD-cvs] pd/src s_stuff.h,1.5.4.10.2.8.2.8,1.5.4.10.2.8.2.9

Mathieu Bouchard matju at users.sourceforge.net
Sat Jun 30 22:10:42 CEST 2007


Update of /cvsroot/pure-data/pd/src
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv13364

Modified Files:
      Tag: desiredata
	s_stuff.h 
Log Message:
new audio api


Index: s_stuff.h
===================================================================
RCS file: /cvsroot/pure-data/pd/src/s_stuff.h,v
retrieving revision 1.5.4.10.2.8.2.8
retrieving revision 1.5.4.10.2.8.2.9
diff -C2 -d -r1.5.4.10.2.8.2.8 -r1.5.4.10.2.8.2.9
*** s_stuff.h	28 Jun 2007 06:22:08 -0000	1.5.4.10.2.8.2.8
--- s_stuff.h	30 Jun 2007 20:10:40 -0000	1.5.4.10.2.8.2.9
***************
*** 243,246 ****
--- 243,257 ----
  #endif
  
+ /* new audio api interface */
+ typedef struct t_audioapi {
+     int (*open_audio)(
+        int naudioindev,  int *audioindev,  int nchindev,  int *chindev,
+        int naudiooutdev, int *audiooutdev, int nchoutdev, int *choutdev,
+        int rate, int schedmode);
+     void (*close_audio)(void);
+     int (*send_dacs)(void);
+     void (*getdevs)(char *indevlist, int *nindevs, char *outdevlist, int *noutdevs, int *canmulti, int maxndev, int devdescsize);
+ } t_audioapi;
+ 
  int pa_open_audio(int inchans, int outchans, int rate, int advance,
  	int indeviceno, int outdeviceno, int schedmode);





More information about the Pd-cvs mailing list