[alsa-devel] [PATCH] ascenario: Add scenario support to alsa-lib

Stefan Schmidt stefan at datenfreihafen.org
Mon Oct 5 10:27:47 CEST 2009


On Thu, 2009-10-01 at 17:08, Stefan Schmidt wrote:
> For an updated patch with all your comments inlcuded see below.

Here is another update on this patch. Fixed a problem I introduced in the last
iteration and changed the config tokens from MasterPlaybackVolume to Master
Playback Volume, etc. That's based on a siggestion from Mark which we had
offlist. Let me quote it here to explain the good reasoning behind it.

--- snip ---
If we reuse the standard ALSA control names as the tokens then someone
could come along in the future and extend the library to allow any
control to be included in the scenarios and existing scenario setups
would just work transparently without having the configuration have
multiple ways of specifying the same thing.  An extension like that
would move any questions about what can be included in the scenario out
of the library which should make it easier to maintian and less likely
to restrict the odd things that some users will inevitably wish to do
with it.
--- snap ---

More information about the Alsa-devel mailing list