[alsa-devel] Pause functionality

dv dv at pseudoterminal.org
Wed Jun 23 17:08:31 CEST 2010


it is stated in the documentation that I need to check with 
snd_pcm_hw_params_can_pause() to see if the device can pause or not. If 
it can, I can use snd_pcm_pause() to pause/resume.

But what if snd_pcm_hw_params_can_pause() tells me it can't pause? What 
does one usually do then? Continue writing to pcm, with a buffer 
containing zeroed samples?

More information about the Alsa-devel mailing list