[alsa-devel] Pausing an audio stream during playback using mixer control interface

Clemens Ladisch cladisch at fastmail.net
Mon Sep 10 17:04:19 CEST 2007


Pharaoh . wrote:
> 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.

Why?

> As per my understanding this is not possible keeping in mind the current
> framework,

Indeed.  Only one application controls the state of the stream.  When a
stream stops without being commanded to do it, it is considered an error
and the driver must go to the XRUN state.


Regards,
Clemens


More information about the Alsa-devel mailing list