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/Intel/sof-hda-dsp/HiFi.conf
# Use case Configuration for sof-hda-dsp

SectionVerb {
	Value.TQ "HiFi"
}

Include.hda-analog.File "/HDA/HiFi-analog.conf"

If.dmic {
	Condition {
		Type String
		Empty "${var:DeviceDmic}"
	}
	Before.SectionDevice "${var:DeviceMic}"
	False.SectionDevice."${var:DeviceDmic}" {
		Comment "Digital Microphone"

		Value {
			CapturePriority 100
			CapturePCM "hw:${CardId},6"
			If.chn {
				Condition {
					Type RegexMatch
					Regex "cfg-dmics:[34]"
					String "${CardComponents}"
				}
				True {
					CaptureChannels 4
				}
			}
			If.vol {
				Condition {
					Type ControlExists
					Control "name='Dmic0 Capture Switch'"
				}
				True {
					CaptureMixerElem "Dmic0"
					CaptureVolume "Dmic0 Capture Volume"
					CaptureSwitch "Dmic0 Capture Switch"
				}
				False {
					# v1.3 SOF firmware
					CaptureMixerElem "PGA10.0 10 Master"
					CaptureVolume "PGA10.0 10 Master Capture Volume"
				}
			}
		}
	}
}

Include.hdmi.File "/Intel/sof-hda-dsp/Hdmi.conf"