[alsa-devel] Problems with snd_pcm_wait(..)

Jaroslav Kysela perex at perex.cz
Mon Jan 11 12:45:45 CET 2010


On Mon, 11 Jan 2010, Markus Luttenberger wrote:

> Hey,
>
>
> I tried to implement a callback functionality with ALSA based on the
> example given at
> http://www.cs.utk.edu/~vose/linux/equalarea.com/alsa-audio.html#interruptex.
> Especially the while-loop is basically the same in my program. However,
> it doesn't work. I can trace the program to snd_pcm_wait(..) which just
> waits endlessly.

Which device you're using? If PulseAudio is in path, there is a bug fixed 
recently:

https://bugzilla.redhat.com/show_bug.cgi?id=534130

 					Jaroslav

-----
Jaroslav Kysela <perex at perex.cz>
Linux Kernel Sound Maintainer
ALSA Project, Red Hat, Inc.



More information about the Alsa-devel mailing list