On Fri, 4 Oct 2002, Philipp Vollmer wrote:

> Hello,
> 
> I'm playing soundfiles in read/write fullduplex mode, but I have one
> problem:
> 
> When I'm playing this file, I'm not able to empty the buffer, because
> it needs too much CPU load. And after 2 or 3 seconds
> the buffer is full and the app crashes. Is there a possibility to
> empty the buffer without any reading? Or is there any function
> to suspend the read handle, without closing it so that I can 
> playback data?

Simply set stop_threshold to UINT_MAX and start the capture stream.

                                                Jaroslav

-----
Jaroslav Kysela <[EMAIL PROTECTED]>
Linux Kernel Sound Maintainer
ALSA Project  http://www.alsa-project.org
SuSE Linux    http://www.suse.com



-------------------------------------------------------
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

Reply via email to