Tom Browne wrote: > Clemens Ladisch wrote: > > Tom Browne wrote: > >> Under certain conditions (yet to be established properly - it doesn't > >> happen every single time) with this ICE1712 card (DSP24), > >> snd_pcm_writei doesn't just block... it never comes back. > > > > What is the state of the PCM device when this happens? > > (see /proc/asound/cardX/pcm0p/*) > > state: PREPARED
The pcm isn't (yet) running. > avail : 5 And the buffer is almost full. snd_pcm_writei blocks because it cannot write more data to the buffer, probably because the transfer threshold is too high. How do you start the pcm? If you're using the start threshold, it may be too big, too. HTH Clemens ------------------------------------------------------- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click _______________________________________________ Alsa-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/alsa-devel