[alsa-devel] [RFC] Add scenario management

Stefan Schmidt stefan at datenfreihafen.org
Thu Oct 1 11:47:14 CEST 2009


This patchset add support for scenario management, aka use cases, in alsa-lib
and example programs in alsa-utils. It allows to adjust the current audio kcontrol
settings from a prespective of a changed use case like the switch from listening
to music on your phone to an incoming phone call and back.

To achieve this it offers control aliasing for playback, capture master and
switch as well as the option to post- and prefix a sequence of control changes
avoiding pops and other unwanted noise.

This is of course not meant to replace gstreamer, PulseAudio or a sound server,
but is meant to work in tandem with such audio software. We think alsa-lib is
the best place for this as it will be used on small embedded system which only
use alsa from the full stack of audio libs in linux. We see potential for
desktop usage as well though.

There is also the support of QoS and the submission to salsa on the TODO list,
but we think it is best to gather soem feedback and get the core merged before
drifting away with to much other features.

Please let me know what can be improved.

Project page is here :-


Stefan Schmidt

More information about the Alsa-devel mailing list