HEX
Server: Apache/2.4.52 (Ubuntu)
System: Linux spn-python 5.15.0-89-generic #99-Ubuntu SMP Mon Oct 30 20:42:41 UTC 2023 x86_64
User: arjun (1000)
PHP: 8.1.2-1ubuntu2.20
Disabled: NONE
Upload Files
File: //usr/share/alsa/ucm2/USB-Audio/Dell/WD15-Dock-HiFi.conf
SectionDevice."Headphones" {
	Comment "Headphones"

	Value {
		PlaybackPriority 100
		PlaybackPCM "hw:${CardId}"

		If.Headphone_ctl {
			Condition {
				Type ControlExists
				Control "name='Headphone Playback Switch'"
			}
			True {
				PlaybackMixerElem "Headphone"
				PlaybackVolume "Headphone Playback Volume"
				PlaybackSwitch "Headphone Playback Switch"
			}
		}
	}
}

SectionDevice."Line" {
	Comment "Line Out"

	Value {
		PlaybackPriority 200
		PlaybackPCM "hw:${CardId},1"

		If.Line_ctl {
			Condition {
				Type ControlExists
				Control "name='Line Playback Switch'"
			}
			True {
				PlaybackMixerElem "Line"
				PlaybackVolume "Line Playback Volume"
				PlaybackSwitch "Line Playback Switch"
			}
		}
	}
}

SectionDevice."Mic" {
	Comment "Microphone"

	Value {
		CapturePriority 100
		CapturePCM "hw:${CardId}"

		If.Mic_ctl {
			Condition {
				Type ControlExists
				Control "name='Mic Capture Switch'"
			}
			True {
				CaptureMixerElem "Mic"
				CaptureVolume "Mic Capture Volume"
				CaptureSwitch "Mic Capture Switch"
			}
		}
	}
}