All of lore.kernel.org
 help / color / mirror / Atom feed
* Pausing an audio stream during playback using mixer control interface
@ 2007-09-10 12:19 Pharaoh .
  2007-09-10 15:04 ` Clemens Ladisch
  0 siblings, 1 reply; 2+ messages in thread
From: Pharaoh . @ 2007-09-10 12:19 UTC (permalink / raw)
  To: alsa-devel

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.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2007-09-10 15:04 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-09-10 12:19 Pausing an audio stream during playback using mixer control interface Pharaoh .
2007-09-10 15:04 ` Clemens Ladisch

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.