Update of /cvsroot/pure-data/pd/src In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv18279
Modified Files: Tag: desiredata s_audio_alsamm.c Log Message: 0.40
Index: s_audio_alsamm.c =================================================================== RCS file: /cvsroot/pure-data/pd/src/s_audio_alsamm.c,v retrieving revision 1.1.4.5.2.2 retrieving revision 1.1.4.5.2.2.2.1 diff -C2 -d -r1.1.4.5.2.2 -r1.1.4.5.2.2.2.1 *** s_audio_alsamm.c 30 Nov 2005 13:36:58 -0000 1.1.4.5.2.2 --- s_audio_alsamm.c 8 Dec 2006 06:36:12 -0000 1.1.4.5.2.2.2.1 *************** *** 216,220 **** for(i=0;i < ALSA_MAXDEV;i++){ alsa_indev[i].a_synced=alsa_outdev[i].a_synced=0; ! alsa_indev[i].a_channels=alsa_outdev[i].a_channels=0; } alsamm_inchannels = 0; --- 216,220 ---- for(i=0;i < ALSA_MAXDEV;i++){ alsa_indev[i].a_synced=alsa_outdev[i].a_synced=0; ! alsa_indev[i].a_channels=alsa_outdev[i].a_channels=-1; /* query defaults */ } alsamm_inchannels = 0; *************** *** 510,514 **** post("Getting channels:min=%d, max= %d for request=%d",minchs,maxchs,channels); #endif ! if(channels > maxchs)channels = maxchs; if(channels < minchs)channels = minchs; --- 510,514 ---- post("Getting channels:min=%d, max= %d for request=%d",minchs,maxchs,channels); #endif ! if(channels < 0)channels=maxchs; if(channels > maxchs)channels = maxchs; if(channels < minchs)channels = minchs;