Update of /cvsroot/pure-data/pd/src In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv12213/src
Modified Files: Tag: devel_0_39 s_audio.c s_midi.c Log Message: increase MAXNDEV, as same soundcards have stereo channels pairs listed as individual devices
Index: s_audio.c =================================================================== RCS file: /cvsroot/pure-data/pd/src/s_audio.c,v retrieving revision 1.5.4.16.2.11 retrieving revision 1.5.4.16.2.12 diff -C2 -d -r1.5.4.16.2.11 -r1.5.4.16.2.12 *** s_audio.c 9 Apr 2006 01:04:55 -0000 1.5.4.16.2.11 --- s_audio.c 12 Apr 2006 17:36:10 -0000 1.5.4.16.2.12 *************** *** 27,34 **** #define SYS_XFERSAMPS (SYS_DEFAULTCH*sys_dacblocksize) #define SYS_XFERSIZE (SYS_SAMPLEWIDTH * SYS_XFERSAMPS) ! #define MAXNDEV 20 #define DEVDESCSIZE 80
! static void audio_getdevs(char *indevlist, int *nindevs, char *outdevlist, int *noutdevs, int *canmulti, int maxndev, int devdescsize); --- 27,34 ---- #define SYS_XFERSAMPS (SYS_DEFAULTCH*sys_dacblocksize) #define SYS_XFERSIZE (SYS_SAMPLEWIDTH * SYS_XFERSAMPS) ! #define MAXNDEV 100 #define DEVDESCSIZE 80
! EXTERN void audio_getdevs(char *indevlist, int *nindevs, char *outdevlist, int *noutdevs, int *canmulti, int maxndev, int devdescsize); *************** *** 591,596 **** }
- #define MAXNDEV 20 - #define DEVDESCSIZE 80
static void audio_getdevs(char *indevlist, int *nindevs, --- 591,594 ----
Index: s_midi.c =================================================================== RCS file: /cvsroot/pure-data/pd/src/s_midi.c,v retrieving revision 1.4.4.1.2.4 retrieving revision 1.4.4.1.2.5 diff -C2 -d -r1.4.4.1.2.4 -r1.4.4.1.2.5 *** s_midi.c 30 Nov 2005 13:36:58 -0000 1.4.4.1.2.4 --- s_midi.c 12 Apr 2006 17:36:10 -0000 1.4.4.1.2.5 *************** *** 553,557 **** }
! #define MAXNDEV 20 #define DEVDESCSIZE 80
--- 553,557 ---- }
! #define MAXNDEV 50 #define DEVDESCSIZE 80