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

Markus Luttenberger m.luttenberger at avibit.com
Mon Jan 11 12:48:17 CET 2010


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


More information about the Alsa-devel mailing list