How to do pause/resume in ALSA application

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

 



Hi, 

 

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

 

_______________________________________________
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