Re: How to do pause/resume in ALSA application

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Clemens,

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@xxxxxxxxxxxxxxxx
[mailto:alsa-devel-bounces@xxxxxxxxxxxxxxxx] On Behalf Of Clemens
Ladisch
Sent: Wednesday, March 05, 2008 9:23 PM
To: Aggarwal, Anuj
Cc: alsa-devel@xxxxxxxxxxxxxxxx; suresh.raj@xxxxxxxxx
Subject: Re:  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
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
_______________________________________________
Alsa-devel mailing list
Alsa-devel@xxxxxxxxxxxxxxxx
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel
_______________________________________________
Alsa-devel mailing list
Alsa-devel@xxxxxxxxxxxxxxxx
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel

[Index of Archives]     [ALSA User]     [Linux Audio Users]     [Kernel Archive]     [Asterisk PBX]     [Photo Sharing]     [Linux Sound]     [Video 4 Linux]     [Gimp]     [Yosemite News]

  Powered by Linux