[PD-cvs] pd/src s_audio_alsamm.c,1.1.4.4,1.1.4.5
Tim Blechmann
timblech at users.sourceforge.net
Tue Mar 1 19:58:03 CET 2005
Update of /cvsroot/pure-data/pd/src
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv18025
Modified Files:
Tag: devel_0_38
s_audio_alsamm.c
Log Message:
wini's channel count fix
Index: s_audio_alsamm.c
===================================================================
RCS file: /cvsroot/pure-data/pd/src/s_audio_alsamm.c,v
retrieving revision 1.1.4.4
retrieving revision 1.1.4.5
diff -C2 -d -r1.1.4.4 -r1.1.4.5
*** s_audio_alsamm.c 21 Feb 2005 09:20:10 -0000 1.1.4.4
--- s_audio_alsamm.c 1 Mar 2005 18:58:00 -0000 1.1.4.5
***************
*** 218,221 ****
--- 218,223 ----
alsa_indev[i].a_channels=alsa_outdev[i].a_channels=0;
}
+ alsamm_inchannels = 0;
+ alsamm_outchannels = 0;
/* opening alsa debug channel */
***************
*** 251,256 ****
for(i=0;i<alsa_noutdev;i++)
{
-
-
/* post("open audio out %d, of %lx, %d",i,&alsa_device[i],
alsa_outdev[i].a_handle); */
--- 253,256 ----
***************
*** 357,360 ****
--- 357,362 ----
#endif
+ sys_setchsr(alsamm_inchannels, alsamm_outchannels, alsamm_sr, sys_dacblocksize);
+
alsamm_start();
More information about the Pd-cvs
mailing list