Documentation / sound / designs / control-names.rst


Based on kernel version 6.8. Page generated on 2024-03-11 21:26 EST.

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142
===========================
Standard ALSA Control Names
===========================

This document describes standard names of mixer controls.

Standard Syntax
---------------
Syntax: [LOCATION] SOURCE [CHANNEL] [DIRECTION] FUNCTION


DIRECTION
~~~~~~~~~
================	===============
<nothing>		both directions
Playback		one direction
Capture			one direction
Bypass Playback		one direction
Bypass Capture		one direction
================	===============

FUNCTION
~~~~~~~~
========	=================================
Switch		on/off switch
Volume		amplifier
Route		route control, hardware specific
========	=================================

CHANNEL
~~~~~~~
============	==================================================
<nothing>	channel independent, or applies to all channels
Front		front left/right channels
Surround	rear left/right in 4.0/5.1 surround
CLFE		C/LFE channels
Center		center channel
LFE		LFE channel
Side		side left/right for 7.1 surround
============	==================================================

LOCATION (Physical location of source)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
============	=====================
Front		front position
Rear		rear position
Dock		on docking station
Internal	internal
============	=====================

SOURCE
~~~~~~
===================	=================================================
Master
Master Mono
Hardware Master
Speaker			internal speaker
Bass Speaker		internal LFE speaker
Headphone
Line Out
Beep			beep generator
Phone
Phone Input
Phone Output
Synth
FM
Mic
Headset Mic		mic part of combined headset jack - 4-pin
			headphone + mic
Headphone Mic		mic part of either/or - 3-pin headphone or mic
Line			input only, use "Line Out" for output
CD
Video
Zoom Video
Aux
PCM
PCM Pan
Loopback
Analog Loopback		D/A -> A/D loopback
Digital Loopback	playback -> capture loopback -
			without analog path
Mono
Mono Output
Multi
ADC
Wave
Music
I2S
IEC958
HDMI
SPDIF			output only
SPDIF In
Digital In
HDMI/DP			either HDMI or DisplayPort
===================	=================================================

Exceptions (deprecated)
-----------------------

=====================================	=======================
[Analogue|Digital] Capture Source
[Analogue|Digital] Capture Switch	aka input gain switch
[Analogue|Digital] Capture Volume	aka input gain volume
[Analogue|Digital] Playback Switch	aka output gain switch
[Analogue|Digital] Playback Volume	aka output gain volume
Tone Control - Switch
Tone Control - Bass
Tone Control - Treble
3D Control - Switch
3D Control - Center
3D Control - Depth
3D Control - Wide
3D Control - Space
3D Control - Level
Mic Boost [(?dB)]
=====================================	=======================

PCM interface
-------------

===================	========================================
Sample Clock Source	{ "Word", "Internal", "AutoSync" }
Clock Sync Status	{ "Lock", "Sync", "No Lock" }
External Rate		external capture rate
Capture Rate		capture rate taken from external source
===================	========================================

IEC958 (S/PDIF) interface
-------------------------

============================================	======================================
IEC958 [...] [Playback|Capture] Switch		turn on/off the IEC958 interface
IEC958 [...] [Playback|Capture] Volume		digital volume control
IEC958 [...] [Playback|Capture] Default		default or global value - read/write
IEC958 [...] [Playback|Capture] Mask		consumer and professional mask
IEC958 [...] [Playback|Capture] Con Mask	consumer mask
IEC958 [...] [Playback|Capture] Pro Mask	professional mask
IEC958 [...] [Playback|Capture] PCM Stream	the settings assigned to a PCM stream
IEC958 Q-subcode [Playback|Capture] Default	Q-subcode bits

IEC958 Preamble [Playback|Capture] Default	burst preamble words (4*16bits)
============================================	======================================