[alsa-devel] ALSA problems with simultaneous Capture and playback
rlrevell at joe-job.com
Wed May 9 20:15:20 CEST 2007
On 5/9/07, Nobin Mathew <nobin.mathew at gmail.com> wrote:
> One read and write handle 256 frames.
> Write seems to be OK, but read fails
> State 4 is SND_PCM_STATE_XRUN
> why this XRUN is happening?
If your hardware buffer is small you may need to run your application
with realtime priority (SCHED_FIFO) to avoid xruns.
I guess this is a custom driver? Please post a link to the source code.
More information about the Alsa-devel