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

Clemens Ladisch clemens at ladisch.de
Thu Mar 6 11:35:54 CET 2008


(please don't top-post)
Aggarwal, Anuj wrote:
> Are you suggesting a bug in the driver or in the library?

Yes.

> I passed "plughw:0,0" as the device name.

The plug plugin doesn't do funny things with pausing, so the bug must
be in the driver.

> We have our own driver for the audio codec, written as per the ALSA
> framework.

I'd guess that the SNDRV_PCM_INFO_PAUSE flag is set, but that the
trigger callback doesn't implement SNDRV_PCM_TRIGGER_PAUSE_PUSH/RELEASE.


HTH
Clemens


More information about the Alsa-devel mailing list