Pausing an audio stream during playback using mixer control interface

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

 



Hi
I want to provide a mixer control interface which will pause the playback
and resume it as needed. I tried to disable DMA while pausing and enable it
while releasing, but this doesn't stop alsa upper layers from inquiring  the
buffer position and since DMA is not on, it gives a pcm write error, which
is quite obvious.

I know that, SNDRV_PCM_TRIGGER_PAUSE_PUSH can be used in trigger callback to
pause the stream, but I want to give a mixer interface to do the same. As
per my understanding this is not possible keeping in mind the current
framework, can anyone think of any work around?

-pharaoh.
_______________________________________________
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