11 Jan
2010
11 Jan
'10
12:48 p.m.
Markus Luttenberger schrieb:
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.
Oops, I overlooked something obvious (I set the snd_pcm_sw_params_set_avail_min(..) to the wrong value). Ignore my question, sorry.
greetings.. ..Markus