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

Clemens Ladisch clemens at ladisch.de
Wed Mar 5 16:53:27 CET 2008


Aggarwal, Anuj wrote:
> I am using the snd_pcm_pause API in my application but it is returning
> error: Invalid argument.

This indicates that the driver (or some PCM plugin) does not support
pausing.

> I checked whether the pause functionality is supported, using
> snd_pcm_hw_params_can_pause() and it returned me success.

This is a bug.  What device name did you use when opening the device,
and which driver are you using?


Regards,
Clemens


More information about the Alsa-devel mailing list