11 Jan
2010
11 Jan
'10
12:45 p.m.
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@perex.cz Linux Kernel Sound Maintainer ALSA Project, Red Hat, Inc.