summaryrefslogtreecommitdiffstats
path: root/src/modules/alsa/alsa-mixer.h
Commit message (Collapse)AuthorAgeFilesLines
* Remove unnecessary #includesMaarten Bosmans2011-06-221-4/+0
|
* alsa-mixer: select nearest alsa volume step in sync-volume modeJuho Hämäläinen2011-06-221-1/+1
|
* alsa-mixer: Implement constant volume.Tanu Kaskinen2011-03-201-3/+6
| | | | | | | 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.
* alsa-mixer: Implement support for setting element specific upper limits for ↵Tanu Kaskinen2011-03-111-0/+1
| | | | | | | | | | | | | volume. This feature is mainly useful in embedded systems that have built-in speakers. In such situations the full audio path is known beforehand, so it's possible to know what is the maximum sensible volume, and any higher volume can be disabled. The volume limit is set in path configuration files in the [Element] section, using option "volume-limit". The value is the desired maximum volume step of the volume element.
* alsa-mixer: Use decibel fixes when getting and setting decibel volumes.Tanu Kaskinen2011-03-111-3/+5
|
* alsa-mixer: Add DecibelFix section to the profile set config file format.Tanu Kaskinen2011-03-111-0/+19
| | | | | This commit only implements the parser, the decibel fix data is not yet used for anything.
* alsa-mixer: add required-any and required-* for enum optionsDavid Henningsson2011-02-251-0/+8
| | | | | | | | | | | Now you can add required-any to elements in a path and the path will be valid as long as at least one of the elements are present. Also you can have required, required-any and required-absent in element options, causing a path to be unsupported if an option is (not) present (simplified example: to skip line in path if "Capture source" doesn't have a "Line In" option). Signed-off-by: David Henningsson <david.henningsson@canonical.com>
* alsa: Take syncronized HW volume infra into use for alsa-sinkJyri Sarha2010-10-161-1/+8
| | | | | | Signed-off-by: Jyri Sarha <jyri.sarha@nokia.com> Reviewed-by: Tanu Kaskinen <tanu.kaskinen@digia.com> Reviewd-by: Colin Guthrie <cguthrie@mandriva.org>
* alsa: when probing for profiles configure buffer/period sizes since some ↵Lennart Poettering2009-09-091-1/+1
| | | | broken drivers apparently need that
* alsa: rework mixer logicLennart Poettering2009-06-171-0/+292
Completely rework mixer logic. This now allows controlling a full set of elements from a single sink's volume slider/mute button. This also introduces sink and source "ports" that can be used to choose different input or output ports with the UI. (i.e. "mic"/"line-in" or "speaker"/"headphones". The mixer paths and device maps are now configered in external configuration files and can be tweaked as necessary.