On Thu, 21 Mar 2002, Ken McMillan wrote: > I have an application that is running a capture and playback > simultaneously, with a fixed latency between them. In case of an > underrun on the playback channel, I'd like the driver to keep running, > without a short gap in the sound, but without losing synchronization > between catpure and playback (i.e., keeping the same latency). > > Can anyone suggest a way to do this? If the playback channel just stops, > there seems to be no way to resynchronize the playback and capture > without restarting the capture, which would result in lost samples. > Is it possible to prevent the playback from stopping on an underrun?
Set stop_threshold from sw_params to UINT_MAX. The xrun check will be never activated in the case. Jaroslav ----- Jaroslav Kysela <[EMAIL PROTECTED]> Linux Kernel Sound Maintainer ALSA Project http://www.alsa-project.org SuSE Linux http://www.suse.com _______________________________________________ Alsa-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/alsa-devel