diff options
author | Tanu Kaskinen <tanu.kaskinen@digia.com> | 2011-03-17 12:23:41 +0200 |
---|---|---|
committer | Colin Guthrie <cguthrie@mandriva.org> | 2011-03-20 12:42:27 +0000 |
commit | e1c289cc6b9f9399f9626304dcd3a2c1aca668a7 (patch) | |
tree | 543579e3acc3261c258109debf9cfa5c3e8e3d21 /src/modules/alsa/mixer | |
parent | 55936640a198877b3906a425d218b4a02f39f673 (diff) |
alsa-mixer: Implement constant volume.
This change makes it possible to configure an arbitrary constant volume for a
volume element in the path configuration, which is applied when the path is
selected. Note: this is only useful when the exact hardware and driver are
known beforehand.
Diffstat (limited to 'src/modules/alsa/mixer')
-rw-r--r-- | src/modules/alsa/mixer/paths/analog-output.conf.common | 16 |
1 files changed, 9 insertions, 7 deletions
diff --git a/src/modules/alsa/mixer/paths/analog-output.conf.common b/src/modules/alsa/mixer/paths/analog-output.conf.common index c7c44350..ccaa494b 100644 --- a/src/modules/alsa/mixer/paths/analog-output.conf.common +++ b/src/modules/alsa/mixer/paths/analog-output.conf.common @@ -75,13 +75,15 @@ ; required-absent = ignore | switch | volume # If set, require this element to not be of this kind and not ; # available, otherwise don't consider this path valid for the card ; -; switch = ignore | mute | off | on | select # What to do with this switch: ignore it, make it follow mute status, -; # always set it to off, always to on, or make it selectable as port. -; # If set to 'select' you need to define an Option section for on -; # and off -; volume = ignore | merge | off | zero # What to do with this volume: ignore it, merge it into the device -; # volume slider, always set it to the lowest value possible, or always -; # set it to 0 dB (for whatever that means) +; switch = ignore | mute | off | on | select # What to do with this switch: ignore it, make it follow mute status, +; # always set it to off, always to on, or make it selectable as port. +; # If set to 'select' you need to define an Option section for on +; # and off +; volume = ignore | merge | off | zero | <volume step> # What to do with this volume: ignore it, merge it into the device +; # volume slider, always set it to the lowest value possible, or always +; # set it to 0 dB (for whatever that means), or always set it to +; # <volume step> (this only makes sense in path configurations where +; # the exact hardware and driver are known beforehand). ; volume-limit = <volume step> # Limit the maximum volume by disabling the volume steps above <volume step>. ; enumeration = ignore | select # What to do with this enumeration, ignore it or make it selectable ; # via device ports. If set to 'select' you need to define an Option section |