[alsa-devel] How to do pause/resume in ALSA application

Aggarwal, Anuj anuj.aggarwal at ti.com
Wed Mar 5 10:20:03 CET 2008



I am using the snd_pcm_pause API in my application but it is returning
error: Invalid argument. I am passing the PCM handle of the playback
stream which I opened earlier and using to play a WAV file. Although I
am able to hear the WAV file correctly, I am not able to pause. I
checked whether the pause functionality is supported, using
snd_pcm_hw_params_can_pause() and it returned me success.


Any help is welcome.


Thanks & Regards,

Anuj Aggarwal


More information about the Alsa-devel mailing list