At Fri, 11 Oct 2002 01:25:19 +1000, James Courtier-Dutton wrote: > > Hello > I have an application that has many different threads. > The sound card's PCM buffer is full during playback, and one thread is > currently in snd_pcm_wait() waiting for enough space to appear in the > buffer before doing the next snd_pcm_write(). > A different thread wants to flush the buffer. There are two types of > flush: - > 1) Immeadiately empty the buffer.
snd_pcm_drop() ? > 2) Stop accepting snd_pcm_write() commands until the current buffer has > drained. snd_pcm_drain() ? Takashi ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Alsa-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/alsa-devel