23 Jun
2010
23 Jun
'10
5:08 p.m.
Hi,
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?