all: use ${CardId}

pull/1/head
WeirdTreeThing 2023-05-26 09:54:55 -04:00
parent 7a0f779d91
commit 4880d36926
No known key found for this signature in database
GPG Key ID: 1F56A4B52998B851
32 changed files with 109 additions and 110 deletions

View File

@ -15,7 +15,7 @@ SectionDevice."Speaker" {
Value {
PlaybackPriority 100
PlaybackPCM "hw:sofnau8825,0"
PlaybackPCM "hw:${CardId},0"
DspName "speaker_eq"
}
EnableSequence [
@ -31,7 +31,7 @@ SectionDevice."Headphones" {
Value {
PlaybackPriority 200
PlaybackPCM "hw:sofnau8825,1"
PlaybackPCM "hw:${CardId},1"
JackControl "Headphone Jack"
DspName "headphone_eq"
}
@ -48,7 +48,7 @@ SectionDevice."Mic" {
Value {
CapturePriority 100
CapturePCM "hw:sofnau8825,99"
CapturePCM "hw:${CardId},99"
CaptureChannels 4
}
}
@ -58,7 +58,7 @@ SectionDevice."Headset" {
Value {
CapturePriority 200
CapturePCM "hw:sofnau8825,1"
CapturePCM "hw:${CardId},1"
CaptureMixerElem "Headset Mic"
JackControl "Headset Mic Jack"
}

View File

@ -19,7 +19,7 @@ SectionDevice."Speaker" {
Value {
PlaybackPriority 100
PlaybackPCM "hw:sofrt5682,0"
PlaybackPCM "hw:${CardId},0"
DspName "speaker_eq"
}
EnableSequence [
@ -35,7 +35,7 @@ SectionDevice."Headphones" {
Value {
PlaybackPriority 200
PlaybackPCM "hw:sofrt5682,1"
PlaybackPCM "hw:${CardId},1"
PlaybackMixerElem "DAC1"
JackControl "Headphone Jack"
}
@ -56,7 +56,7 @@ SectionDevice."Mic" {
Value {
CapturePriority 100
CapturePCM "hw:sofrt5682,99"
CapturePCM "hw:${CardId},99"
CaptureChannels 4
}
}
@ -66,7 +66,7 @@ SectionDevice."Headset" {
Value {
CapturePriority 200
CapturePCM "hw:sofrt5682,1"
CapturePCM "hw:${CardId},1"
CaptureMixerElem "Headset Mic"
JackControl "Headset Mic Jack"
}

View File

@ -20,7 +20,7 @@ SectionDevice."Speaker" {
Value {
PlaybackPriority 100
PlaybackPCM "hw:sofrt5682,0"
PlaybackPCM "hw:${CardId},0"
}
EnableSequence [
cset "name='Spk Switch' on"
@ -35,7 +35,7 @@ SectionDevice."Headphones" {
Value {
PlaybackPriority 200
PlaybackPCM "hw:sofrt5682,1"
PlaybackPCM "hw:${CardId},1"
PlaybackMixerElem "DAC1"
JackControl "Headphone Jack"
}
@ -56,7 +56,7 @@ SectionDevice."Mic" {
Value {
CapturePriority 100
CapturePCM "hw:sofrt5682,99"
CapturePCM "hw:${CardId},99"
CaptureChannels 4
}
}
@ -66,7 +66,7 @@ SectionDevice."Headset" {
Value {
CapturePriority 200
CapturePCM "hw:sofrt5682,1"
CapturePCM "hw:${CardId},1"
CaptureMixerElem "Headset Mic"
JackControl "Headset Mic Jack"
}

View File

@ -17,7 +17,7 @@ SectionDevice."Speaker" {
Value {
PlaybackPriority 100
PlaybackPCM "hw:sofrt5682,0"
PlaybackPCM "hw:${CardId},0"
DspName "speaker_eq"
}
EnableSequence [
@ -33,7 +33,7 @@ SectionDevice."Headphones" {
Value {
PlaybackPriority 200
PlaybackPCM "hw:sofrt5682,1"
PlaybackPCM "hw:${CardId},1"
PlaybackMixerElem "DAC1"
JackControl "Headphone Jack"
}
@ -54,7 +54,7 @@ SectionDevice."Mic" {
Value {
CapturePriority 100
CapturePCM "hw:sofrt5682,99"
CapturePCM "hw:${CardId},99"
CaptureChannels 4
}
}
@ -64,7 +64,7 @@ SectionDevice."Headset" {
Value {
CapturePriority 200
CapturePCM "hw:sofrt5682,1"
CapturePCM "hw:${CardId},1"
CaptureMixerElem "Headset Mic"
JackControl "Headset Mic Jack"
}

View File

@ -28,7 +28,7 @@ SectionDevice."Speaker" {
Value {
PlaybackPriority 100
PlaybackPCM "hw:sofrt5682,0"
PlaybackPCM "hw:${CardId},0"
DspName "speaker_eq"
}
EnableSequence [
@ -44,7 +44,7 @@ SectionDevice."Headphones" {
Value {
PlaybackPriority 200
PlaybackPCM "hw:sofrt5682,1"
PlaybackPCM "hw:${CardId},1"
PlaybackMixerElem "DAC1"
JackControl "Headphone Jack"
}
@ -69,7 +69,7 @@ SectionDevice."Mic" {
Value {
CapturePriority 100
CapturePCM "hw:sofrt5682,99"
CapturePCM "hw:${CardId},99"
CaptureChannels 4
}
}
@ -79,7 +79,7 @@ SectionDevice."Headset" {
Value {
CapturePriority 200
CapturePCM "hw:sofrt5682,1"
CapturePCM "hw:${CardId},1"
CaptureMixerElem "Headset Mic"
JackControl "Headset Mic Jack"
}

View File

@ -33,7 +33,7 @@ SectionDevice."Speaker" {
Value {
PlaybackPriority 100
PlaybackPCM "hw:sofbxtda7219max"
PlaybackPCM "hw:${CardId},0"
}
EnableSequence [
cset "name='Spk Switch' on"
@ -48,7 +48,7 @@ SectionDevice."Headphones" {
Value {
PlaybackPriority 200
PlaybackPCM "hw:sofbxtda7219max,1"
PlaybackPCM "hw:${CardId},1"
PlaybackMixerElem "Headphone"
JackControl "Headphone Jack"
}
@ -67,7 +67,7 @@ SectionDevice."Mic" {
Value {
CapturePriority 100
CapturePCM "hw:sofbxtda7219max,99"
CapturePCM "hw:${CardId},99"
CaptureChannelMap "0 0 -1 -1 -1 -1 -1 -1 -1 -1 -1"
IntrinsicSensitivity "-2600"
}
@ -78,7 +78,7 @@ SectionDevice."Headset" {
Value {
CapturePriority 200
CapturePCM "hw:sofbxtda7219max,1"
CapturePCM "hw:${CardId},1"
CaptureMixerElem "Headset Mic"
JackControl "Headset Mic Jack"
}

View File

@ -31,7 +31,7 @@ SectionVerb {
SectionDevice."Headphone" {
Comment "Headphone"
Value {
PlaybackPCM "hw:avsda7219,1"
PlaybackPCM "hw:${CardId},1"
PlaybackMixerElem "Headphone"
JackDev "avs_da7219 Headset Jack"
JackSwitch "2"
@ -51,7 +51,7 @@ SectionDevice."Headphone" {
SectionDevice."Mic" {
Comment "Mic"
Value {
CapturePCM "hw:avsda7219,1"
CapturePCM "hw:${CardId},1"
CaptureMixerElem "Headset Mic"
JackDev "avs_da7219 Headset Jack"
}

View File

@ -19,7 +19,7 @@ If.4ch {
Comment "Internal Microphone"
Value {
CapturePCM "hw:avsdmic,2"
CapturePCM "hw:${CardId},2"
CaptureChannels 4
CaptureChannelMap "0 0 -1 -1 -1 -1 -1 -1 -1 -1 -1"
IntrinsicSensitivity "-2600"
@ -42,7 +42,7 @@ If.4ch {
Comment "Internal Microphone"
Value {
CapturePCM "hw:avsdmic,2"
CapturePCM "hw:${CardId},2"
CaptureChannels 2
CaptureChannelMap "0 0 -1 -1 -1 -1 -1 -1 -1 -1 -1"
IntrinsicSensitivity "-2600"

View File

@ -11,7 +11,7 @@ SectionVerb {
SectionDevice."Speaker" {
Comment "Speaker"
Value {
PlaybackPCM "hw:avsmax98357a,1"
PlaybackPCM "hw:${CardId},1"
DspName "speaker_eq"
}
EnableSequence [

View File

@ -82,7 +82,7 @@ SectionDevice."Speaker" {
Comment "Speaker"
Value {
PlaybackPCM "hw:avsmax98373,1"
PlaybackPCM "hw:${CardId},1"
DspName "speaker_eq"
}
EnableSequence [

View File

@ -22,7 +22,7 @@ SectionDevice."Speaker" {
Comment "Speaker"
Value {
PlaybackPCM "hw:avsmax98927,1"
PlaybackPCM "hw:${CardId},1"
DspName "speaker_eq"
}
EnableSequence [

View File

@ -17,7 +17,7 @@ SectionVerb {
SectionDevice."Headphone" {
Comment "Headphone"
Value {
PlaybackPCM "hw:avsnau8825,1"
PlaybackPCM "hw:${CardId},1"
PlaybackMixerElem "Headphone"
JackDev "avs_nau8825 Headset Jack"
JackSwitch "2"
@ -33,7 +33,7 @@ SectionDevice."Headphone" {
SectionDevice."Mic" {
Comment "Mic"
Value {
CapturePCM "hw:avsnau8825,1"
CapturePCM "hw:${CardId},1"
CaptureMixerElem "Headset Mic"
JackDev "avs_nau8825 Headset Jack"
}

View File

@ -18,7 +18,7 @@ SectionVerb {
SectionDevice."Speaker" {
Comment "Speaker"
Value {
PlaybackPCM "hw:avsssm4567adi,1"
PlaybackPCM "hw:${CardId},1"
DspName "speaker_eq"
}
EnableSequence [

View File

@ -11,7 +11,7 @@ SectionVerb {
SectionDevice."HDMI1".0 {
Comment "HDMI1"
Value {
PlaybackPCM "hw:hdaudioB0D2,1"
PlaybackPCM "hw:${CardId},1"
JackDev "hdaudioB0D2 HDMI/DP,pcm=1"
}
EnableSequence [
@ -23,7 +23,7 @@ SectionDevice."HDMI1".0 {
SectionDevice."HDMI2".0 {
Comment "HDMI2"
Value {
PlaybackPCM "hw:hdaudioB0D2,2"
PlaybackPCM "hw:${CardId},2"
JackDev "hdaudioB0D2 HDMI/DP,pcm=2"
}
EnableSequence [
@ -35,7 +35,7 @@ SectionDevice."HDMI2".0 {
SectionDevice."HDMI3".0 {
Comment "HDMI3"
Value {
PlaybackPCM "hw:hdaudioB0D2,3"
PlaybackPCM "hw:${CardId},3"
JackDev "hdaudioB0D2 HDMI/DP,pcm=3"
}
EnableSequence [

View File

@ -49,7 +49,7 @@ SectionDevice."Speaker" {
Value {
PlaybackPriority 100
PlaybackPCM "hw:sofrt5682srt101"
PlaybackPCM "hw:${CardId},0"
}
EnableSequence [
cset "name='Left Spk Switch' on"
@ -66,7 +66,7 @@ SectionDevice."Headphones" {
Value {
PlaybackPriority 200
PlaybackPCM "hw:sofrt5682srt101"
PlaybackPCM "hw:${CardId},0"
PlaybackMixerElem "DAC1"
JackControl "Headset Jack"
}
@ -83,7 +83,7 @@ SectionDevice."Mic" {
Value {
CapturePriority 100
CapturePCM "hw:sofrt5682srt101,1"
CapturePCM "hw:${CardId},1"
CaptureChannels 4
}
}
@ -93,7 +93,7 @@ SectionDevice."Headset" {
Value {
CapturePriority 200
CapturePCM "hw:sofrt5682srt101"
CapturePCM "hw:${CardId},0"
JackControl "Headset Jack"
}
EnableSequence [

View File

@ -9,7 +9,7 @@ SectionDevice."Speaker" {
Value {
PlaybackPriority 100
PlaybackPCM "hw:sofcmlrt1011rt5,5"
PlaybackPCM "hw:${CardId},5"
}
EnableSequence [
cset "name='TL Ext Spk Switch' on"
@ -31,7 +31,7 @@ SectionDevice."Headphones" {
Value {
PlaybackPriority 200
PlaybackPCM "hw:sofcmlrt1011rt5,0"
PlaybackPCM "hw:${CardId},0"
PlaybackMixerElem "DAC1"
JackControl "Headphone Jack"
}
@ -52,7 +52,7 @@ SectionDevice."Mic" {
Value {
CapturePriority 100
CapturePCM "hw:sofcmlrt1011rt5,1"
CapturePCM "hw:${CardId},1"
CaptureChannels 4
CaptureChannelMap "0 1 -1 -1 -1 -1 -1 -1 -1 -1 -1"
IntrinsicSensitivity "-2800"
@ -64,7 +64,7 @@ SectionDevice."Headset" {
Value {
CapturePriority 200
CapturePCM "hw:sofcmlrt1011rt5,0"
CapturePCM "hw:${CardId},0"
CaptureMixerElem "Headset Mic"
JackControl "Headset Mic Jack"
}

View File

@ -74,7 +74,7 @@ SectionDevice."Speaker" {
Value {
PlaybackPriority 100
PlaybackPCM "hw:sofcmlda7219max"
PlaybackPCM "hw:${CardId},0"
}
EnableSequence [
cset "name='Spk Switch' on"
@ -89,7 +89,7 @@ SectionDevice."Headphones" {
Value {
PlaybackPriority 200
PlaybackPCM "hw:sofcmlda7219max,1"
PlaybackPCM "hw:${CardId},1"
PlaybackMixerElem "Headphone"
JackControl "Headphone Jack"
}
@ -108,7 +108,7 @@ SectionDevice."Mic" {
Value {
CapturePriority 100
CapturePCM "hw:sofcmlda7219max,2"
CapturePCM "hw:${CardId},2"
CaptureChannels 4
}
Macro.pcm_split.SplitPCMDevice {
@ -129,7 +129,7 @@ SectionDevice."Mic 1" {
Value {
CapturePriority 100
CapturePCM "hw:sofcmlda7219max,2"
CapturePCM "hw:${CardId},2"
CaptureChannels 4
}
Macro.pcm_split.SplitPCMDevice {
@ -150,7 +150,7 @@ SectionDevice."Headset" {
Value {
CapturePriority 200
CapturePCM "hw:sofcmlda7219max,1"
CapturePCM "hw:${CardId},1"
CaptureMixerElem "Headset Mic"
JackControl "Headset Mic Jack"
}

View File

@ -64,7 +64,7 @@ SectionDevice."Speaker" {
Value {
PlaybackPriority 100
PlaybackPCM "hw:sofrt5682,5"
PlaybackPCM "hw:${CardId},5"
}
EnableSequence [
cset "name='Spk Switch' on"
@ -79,7 +79,7 @@ SectionDevice."Headphones" {
Value {
Playback Priority
PlaybackPCM "hw:sofrt5682,0"
PlaybackPCM "hw:${CardId},0"
PlaybackMixerElem "DAC1"
JackControl "Headphone Jack"
}
@ -102,7 +102,7 @@ SectionDevice."Mic" {
Value {
CapturePriority 100
CapturePCM "hw:sofrt5682,1"
CapturePCM "hw:${CardId},1"
CaptureChannels 4
CaptureChannelMap "0 1 -1 -1 -1 -1 -1 -1 -1 -1 -1"
IntrinsicSensitivity "-2400"
@ -125,7 +125,7 @@ SectionDevice."Headset" {
Value {
CapturePriority 200
CapturePCM "hw:sofrt5682,0"
CapturePCM "hw:${CardId},0"
CaptureMixerElem "Headset Mic"
JackControl "Headset Mic Jack"
}

View File

@ -20,7 +20,7 @@ SectionDevice."Speaker" {
Value {
PlaybackPriority 100
PlaybackPCM "hw:sofcs42l42"
PlaybackPCM "hw:${CardId},0"
}
EnableSequence [
cset "name='Spk Switch' on"
@ -35,7 +35,7 @@ SectionDevice."Headphones" {
Value {
PlaybackPriority 200
PlaybackPCM "hw:sofcs42l42,1"
PlaybackPCM "hw:${CardId},1"
PlaybackMixerElem "Mixer"
JackControl "Headphone Jack"
}
@ -54,7 +54,7 @@ SectionDevice."Mic" {
Value {
CapturePriority 100
CapturePCM "hw:sofcs42l42,99"
CapturePCM "hw:${CardId},99"
CaptureChannels 4
CaptureChannelMap "0 0 -1 -1 -1 -1 -1 -1 -1 -1 -1"
IntrinsicSensitivity "-2600"
@ -66,7 +66,7 @@ SectionDevice."Headset" {
Value {
CapturePriority 200
CapturePCM "hw:sofcs42l42,1"
CapturePCM "hw:${CardId},1"
CaptureMixerElem "Headset Mic"
JackControl "Headset Mic Jack"
}

View File

@ -33,7 +33,7 @@ SectionDevice."Speaker" {
Value {
PlaybackPriority 100
PlaybackPCM "hw:sofglkda7219max"
PlaybackPCM "hw:${CardId},0"
}
EnableSequence [
cset "name='Spk Switch' on"
@ -48,7 +48,7 @@ SectionDevice."Headphones" {
Value {
PlaybackPriority 200
PlaybackPCM "hw:sofglkda7219max,1"
PlaybackPCM "hw:${CardId},1"
PlaybackMixerElem "Headphone"
JackControl "Headphone Jack"
}
@ -67,7 +67,7 @@ SectionDevice."Mic" {
Value {
CapturePriority 100
CapturePCM "hw:sofglkda7219max,99"
CapturePCM "hw:${CardId},99"
CaptureChannels 4
CaptureChannelMap "0 0 -1 -1 -1 -1 -1 -1 -1 -1 -1"
IntrinsicSensitivity "-2600"
@ -79,7 +79,7 @@ SectionDevice."Headset" {
Value {
CapturePriority 200
CapturePCM "hw:sofglkda7219max,1"
CapturePCM "hw:${CardId},1"
CaptureMixerElem "Headset Mic"
JackControl "Headset Mic Jack"
}

View File

@ -30,7 +30,7 @@ SectionDevice."Speaker" {
Value {
PlaybackPriority 100
PlaybackPCM "hw:sofglkrt5682max"
PlaybackPCM "hw:${CardId},0"
}
EnableSequence [
cset "name='Spk Switch' on"
@ -45,7 +45,7 @@ SectionDevice."Headphones" {
Value {
PlaybackPriority 200
PlaybackPCM "hw:sofglkrt5682max,1"
PlaybackPCM "hw:${CardId},1"
PlaybackMixerElem "DAC1"
JackControl "Headphone Jack"
}
@ -68,7 +68,7 @@ SectionDevice."Mic" {
Value {
CapturePriority 100
CapturePCM "hw:sofglkrt5682max,99"
CapturePCM "hw:${CardId},99"
CaptureChannels 4
CaptureChannelMap "0 1 -1 -1 -1 -1 -1 -1 -1 -1 -1"
IntrinsicSensitivity "-2600"
@ -80,7 +80,7 @@ SectionDevice."Headset" {
Value {
CapturePriority 200
CapturePCM "hw:sofglkrt5682max,1"
CapturePCM "hw:${CardId},1"
CaptureMixerElem "Headset Mic"
JackControl "Headset Mic Jack"
}

View File

@ -19,7 +19,7 @@ SectionDevice."Speaker" {
Value {
PlaybackPriority 100
PlaybackPCM "hw:sofcs42l42,0"
PlaybackPCM "hw:${CardId},0"
}
EnableSequence [
cset "name='Spk Switch' on"
@ -34,7 +34,7 @@ SectionDevice."Headphones" {
Value {
PlaybackPriority 200
PlaybackPCM "hw:sofcs42l42,1"
PlaybackPCM "hw:${CardId},1"
PlaybackMixerElem "Mixer"
JackControl "Headphone Jack"
}
@ -53,7 +53,7 @@ SectionDevice."Mic" {
Value {
CapturePriority 100
CapturePCM "hw:sofcs42l42,5"
CapturePCM "hw:${CardId},5"
CaptureChannels 4
}
}
@ -63,7 +63,7 @@ SectionDevice."Headset" {
Value {
CapturePriority 200
CapturePCM "hw:sofcs42l42,1"
CapturePCM "hw:${CardId},1"
CaptureMixerElem "Headset Mic"
JackDev "sof-cs42l42 Headset Jack"
}

View File

@ -33,7 +33,7 @@ SectionDevice."Speaker" {
Value {
PlaybackPriority 100
PlaybackPCM "hw:sofda7219max983"
PlaybackPCM "hw:${CardId},0"
}
EnableSequence [
cset "name='Spk Switch' on"
@ -48,7 +48,7 @@ SectionDevice."Headphones" {
Value {
PlaybackPriority 200
PlaybackPCM "hw:sofda7219max983,1"
PlaybackPCM "hw:${CardId},1"
PlaybackMixerElem "Headphone"
JackControl "Headphone Jack"
}
@ -67,7 +67,7 @@ SectionDevice."Mic" {
Value {
CapturePriority 100
CapturePCM "hw:sofda7219max983,5"
CapturePCM "hw:${CardId},5"
CaptureChannels 4
CaptureChannelMap "0 0 -1 -1 -1 -1 -1 -1 -1 -1 -1"
IntrinsicSensitivity "-3100"
@ -79,7 +79,7 @@ SectionDevice."Headset" {
Value {
CapturePriority 200
CapturePCM "hw:sofda7219max983,1"
CapturePCM "hw:${CardId},1"
CaptureMixerElem "Headset Mic"
JackControl "Headset Mic Jack"
}

View File

@ -30,7 +30,7 @@ SectionDevice."Speaker" {
Value {
PlaybackPriority 100
PlaybackPCM "hw:sofrt5682,0"
PlaybackPCM "hw:${CardId},0"
DspName "speaker_eq"
}
EnableSequence [
@ -48,7 +48,7 @@ SectionDevice."Headphones" {
Value {
PlaybackPriority 200
PlaybackPCM "hw:sofrt5682,1"
PlaybackPCM "hw:${CardId},1"
PlaybackMixerElem "DAC1"
JackControl "Headphone Jack"
}
@ -71,7 +71,7 @@ SectionDevice."Headset" {
Value {
CapturePriority 200
CapturePCM "hw:sofrt5682,1"
CapturePCM "hw:${CardId},1"
CaptureMixerElem "Headset Mic"
JackDev "sof-rt5682 Headset Jack"
}
@ -88,7 +88,7 @@ SectionDevice."Mic" {
Value {
CapturePriority 100
CapturePCM "hw:sofrt5682,5"
CapturePCM "hw:${CardId},5"
CaptureChannels 4
CaptureChannelMap "0 1 -1 -1 -1 -1 -1 -1 -1 -1 -1"
IntrinsicSensitivity "-3200"

View File

@ -29,7 +29,7 @@ SectionDevice."Speaker" {
Value {
PlaybackPriority 100
PlaybackPCM "hw:sofrt5682,0"
PlaybackPCM "hw:${CardId},0"
DspName "speaker_eq"
}
EnableSequence [
@ -47,7 +47,7 @@ SectionDevice."Headphones" {
Value {
PlaybackPriority 200
PlaybackPCM "hw:sofrt5682,1"
PlaybackPCM "hw:${CardId},1"
PlaybackMixerElem "DAC1"
JackControl "Headphone Jack"
}
@ -70,7 +70,7 @@ SectionDevice."Headset" {
Value {
CapturePriority 200
CapturePCM "hw:sofrt5682,1"
CapturePCM "hw:${CardId},1"
CaptureMixerElem "Headset Mic"
JackDev "sof-rt5682 Headset Jack"
}
@ -87,7 +87,7 @@ SectionDevice."Mic" {
Value {
CapturePriority 100
CapturePCM "hw:sofrt5682,5"
CapturePCM "hw:${CardId},5"
CaptureChannels 4
CaptureChannelMap "0 1 -1 -1 -1 -1 -1 -1 -1 -1 -1"
IntrinsicSensitivity "-3100"

View File

@ -3,7 +3,6 @@ SectionVerb {
FullySpecifiedUCM "1"
}
EnableSequence [
cdev "hw:Generic"
cset "name='IEC958 Playback Switch' on"
cset "name='IEC958 Playback Switch',index=1 on"
cset "name='IEC958 Playback Switch',index=2 on"
@ -17,7 +16,7 @@ SectionDevice."HDMI1" {
Comment "HDMI1"
Value {
PlaybackPCM "hw:Generic,3"
PlaybackPCM "hw:${CardId},3"
JackDev "HD-Audio Generic HDMI/DP,pcm=3"
}
EnableSequence [
@ -30,7 +29,7 @@ SectionDevice."HDMI2" {
Comment "HDMI2"
Value {
PlaybackPCM "hw:Generic,7"
PlaybackPCM "hw:${CardId},7"
JackDev "HD-Audio Generic HDMI/DP,pcm=7"
}
EnableSequence [
@ -43,7 +42,7 @@ SectionDevice."HDMI3" {
Comment "HDMI3"
Value {
PlaybackPCM "hw:Generic,8"
PlaybackPCM "hw:${CardId},8"
JackDev "HD-Audio Generic HDMI/DP,pcm=8"
}
EnableSequence [
@ -56,7 +55,7 @@ SectionDevice."HDMI4" {
Comment "HDMI4"
Value {
PlaybackPCM "hw:Generic,9"
PlaybackPCM "hw:${CardId},9"
JackDev "HD-Audio Generic HDMI/DP,pcm=9"
}
EnableSequence [

View File

@ -14,7 +14,7 @@ SectionDevice."HDMI1" {
Comment "HDMI1"
Value {
PlaybackPCM "hw:HDMI,3"
PlaybackPCM "hw:${CardId},3"
JackDev "HDA ATI HDMI HDMI/DP,pcm=3"
}
EnableSequence [
@ -27,7 +27,7 @@ SectionDevice."HDMI2" {
Comment "HDMI2"
Value {
PlaybackPCM "hw:HDMI,7"
PlaybackPCM "hw:${CardId},7"
JackDev "HDA ATI HDMI HDMI/DP,pcm=7"
}
EnableSequence [

View File

@ -32,7 +32,7 @@ SectionDevice."Speaker" {
Value {
PlaybackPriority 100
PlaybackPCM "hw:acpd7219m98357,2"
PlaybackPCM "hw:${CardId},2"
DspName "speaker_eq"
}
}
@ -42,7 +42,7 @@ SectionDevice."Headphones" {
Value {
PlaybackPriority 200
PlaybackPCM "hw:acpd7219m98357,0"
PlaybackPCM "hw:${CardId},0"
PlaybackMixerElem "Headphone"
JackControl "Headset Jack"
}
@ -59,7 +59,7 @@ SectionDevice."Mic" {
Value {
CapturePriority 100
CapturePCM "hw:acpd7219m98357,4"
CapturePCM "hw:${CardId},4"
DspName "dmic_eq"
}
}
@ -69,7 +69,7 @@ SectionDevice."Headset" {
Value {
CapturePriority 200
CapturePCM "hw:acpd7219m98357,1"
CapturePCM "hw:${CardId},1"
CaptureMixerElem "Headset Mic"
JackControl "Headset Jack"
DependentPCM "hw:acpd7219m98357,4"

View File

@ -39,7 +39,7 @@ SectionDevice."Speaker" {
Value {
PlaybackPriority 100
PlaybackPCM "hw:sofrt5682"
PlaybackPCM "hw:${CardId},0"
EchoReferenceDev "Echo Reference"
}
EnableSequence [
@ -61,7 +61,7 @@ SectionDevice."Headphones" {
Value {
PlaybackPriority 200
PlaybackPCM "hw:sofrt5682,1"
PlaybackPCM "hw:${CardId},1"
PlaybackMixerElem "DAC1"
JackControl "Headphone Jack"
}
@ -82,7 +82,7 @@ SectionDevice."Echo Reference" {
Comment "Echo Reference"
Value {
CapturePCM "hw:sofrt5682,0"
CapturePCM "hw:${CardId},0"
}
}
@ -91,7 +91,7 @@ SectionDevice."Mic" {
Value {
CapturePriority 100
CapturePCM "hw:sofrt5682,99"
CapturePCM "hw:${CardId},99"
CaptureChannels 4
CaptureChannelMap "0 1 -1 -1 -1 -1 -1 -1 -1 -1 -1"
IntrinsicSensitivity "-3200"
@ -106,7 +106,7 @@ SectionDevice."Headset" {
Value {
CapturePriority 200
CapturePCM "hw:sofrt5682,1"
CapturePCM "hw:${CardId},1"
CaptureMixerElem "Headset Mic"
JackControl "Headset Mic Jack"
}

View File

@ -65,7 +65,7 @@ SectionDevice."Speaker" {
Value {
PlaybackPriority 100
PlaybackPCM "hw:sofrt5682,0"
PlaybackPCM "hw:${CardId},0"
}
EnableSequence [
cset "name='Spk Switch' on"
@ -82,7 +82,7 @@ SectionDevice."Headphones" {
Value {
PlaybackPriority 200
PlaybackPCM "hw:sofrt5682,1"
PlaybackPCM "hw:${CardId},1"
PlaybackMixerElem "DAC1"
JackControl "Headphone Jack"
}
@ -106,7 +106,7 @@ SectionDevice."Mic" {
Value {
CapturePrioirty 100
CapturePCM "hw:sofrt5682,99"
CapturePCM "hw:${CardId},99"
CaptureChannels 4
}
Macro.pcm_split.SplitPCMDevice {
@ -127,7 +127,7 @@ SectionDevice."Headset" {
Value {
CapturePriority 200
CapturePCM "hw:sofrt5682,1"
CapturePCM "hw:${CardId},1"
CaptureMixerElem "Headset Mic"
JackControl "Headset Mic Jack"
}

View File

@ -29,7 +29,7 @@ SectionDevice."Speaker" {
Value {
PlaybackPriority 100
PlaybackPCM "hw:sofrt5682"
PlaybackPCM "hw:${CardId},0"
DspName "speaker_eq"
}
EnableSequence [
@ -47,7 +47,7 @@ SectionDevice."Headphones" {
Value {
PlaybackPriority 200
PlaybackPCM "hw:sofrt5682,1"
PlaybackPCM "hw:${CardId},1"
PlaybackMixerElem "DAC1"
JackControl "Headphone Jack"
}
@ -71,7 +71,7 @@ SectionDevice."Mic" {
Value {
CapturePriority 100
CapturePCM "hw:sofrt5682,99"
CapturePCM "hw:${CardId},99"
CaptureChannels 4
CaptureChannelMap "0 1 -1 -1 -1 -1 -1 -1 -1 -1 -1"
IntrinsicSensitivity "-2600"
@ -83,7 +83,7 @@ SectionDevice."Headset" {
Value {
CapturePriority 200
CapturePCM "hw:sofrt5682,1"
CapturePCM "hw:${CardId},1"
CaptureMixerElem "Headset Mic"
JackDev "sof-rt5682 Headset Jack"
}

View File

@ -81,7 +81,7 @@ SectionDevice."Speaker" {
Value {
PlaybackPriority 100
PlaybackPCM "hw:sofrt5682"
PlaybackPCM "hw:${CardId},0"
}
EnableSequence [
cset "name='Left Spk Switch' on"
@ -100,7 +100,7 @@ SectionDevice."Headphone" {
Value {
PlaybackPriority 200
PlaybackPCM "hw:sofrt5682,1"
PlaybackPCM "hw:${CardId},1"
PlaybackMixerElem "DAC1"
JackControl "Headphone Jack"
}
@ -124,7 +124,7 @@ SectionDevice."Mic" {
Value {
CapturePriority 100
CapturePCM "hw:sofrt5682,99"
CapturePCM "hw:${CardId},99"
CaptureChannels 4
#IntrinsicSensitivity "-2500"
CaptureMixer "default:${CardId}"
@ -148,7 +148,7 @@ SectionDevice."Headset" {
Value {
CapturePriority 200
CapturePCM "hw:sofrt5682,1"
CapturePCM "hw:${CardId},1"
CaptureMixerElem "Headset Mic"
JackControl "Headset Mic Jack"
}