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

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


Are you suggesting a bug in the driver or in the library? 

I passed "plughw:0,0" as the device name. We have our own driver for the
audio codec, written as per the ALSA framework.  

Thanks & Regards,
Anuj Aggarwal

-----Original Message-----
From: alsa-devel-bounces at alsa-project.org
[mailto:alsa-devel-bounces at alsa-project.org] On Behalf Of Clemens
Sent: Wednesday, March 05, 2008 9:23 PM
To: Aggarwal, Anuj
Cc: alsa-devel at alsa-project.org; suresh.raj at gmail.com
Subject: Re: [alsa-devel] How to do pause/resume in ALSA application

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

> 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?

Alsa-devel mailing list
Alsa-devel at alsa-project.org

More information about the Alsa-devel mailing list