Update of /cvsroot/pure-data/pd/src In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv17965
Modified Files: Tag: desiredata s_audio_alsamm.c Log Message: cleanup
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.2.2 retrieving revision 1.1.4.5.2.2.2.3 diff -C2 -d -r1.1.4.5.2.2.2.2 -r1.1.4.5.2.2.2.3 *** s_audio_alsamm.c 20 Dec 2006 08:28:13 -0000 1.1.4.5.2.2.2.2 --- s_audio_alsamm.c 10 Jul 2007 04:45:58 -0000 1.1.4.5.2.2.2.3 *************** *** 3,14 **** * For information on usage and redistribution, and for a DISCLAIMER OF ALL * WARRANTIES, see the file, "LICENSE.txt," in this distribution. */ ! ! /* ! this audiodriverinterface inputs and outputs audio data using ! the ALSA MMAP API available on linux. this is optimized for hammerfall cards and does not make an attempt to be general now, please adapt to your needs or let me know ... constrains now: ! - audio Card with ALSA-Driver > 1.0.3, [...2040 lines suppressed...] ! ! void alsamm_showstat(snd_pcm_t *handle) ! { int err; snd_pcm_status_t *status; --- 869,882 ---- fpi += ichannels*sys_dacblocksize; } /* for out devno < alsamm_outcards*/ ! if ((timenow = sys_getrealtime()) > (timelast + sleep_time)) { ! if(debug && dac_send < 10 && sys_verbose) ! post("slept %f > %f + %f (=%f)", timenow,timelast,sleep_time,(timelast + sleep_time)); return (SENDDACS_SLEPT); ! } return SENDDACS_YES; }
/* extra debug info */ ! void alsamm_showstat(snd_pcm_t *handle) { int err; snd_pcm_status_t *status;