dmic: remove custom macro

pull/1/head
WeirdTreeThing 2023-05-23 22:29:48 -04:00
parent 76cc6b4afd
commit b81410689e
No known key found for this signature in database
GPG Key ID: 1F56A4B52998B851
2 changed files with 0 additions and 60 deletions

View File

@ -1,22 +0,0 @@
#
# Macro DmicSplit
#
# Arguments:
# PCM - PCM number of dmic
#
Include.pcm_split.File "/conf.d/dmic-common/split.conf"
DefineMacro.DmicSplit {
Macro.pcm_split.SplitPCMDevice {
Name "dmic_stereo_in"
Direction Capture
Device "${var:__PCM}"
HWChannels 4
Channels 2
Channel0 0
Channel1 1
ChannelPos0 FL
ChannelPos1 FR
}
}

View File

@ -1,38 +0,0 @@
Include.pcm_split.File "/conf.d/dmic-common/split.conf"
Macro [
{
SplitPCM {
Name "dmic_stereo_in"
Direction Capture
Format S32_LE
Channels 2
HWChannels 4
HWChannelPos0 FL
HWChannelPos1 FR
HWChannelPos2 FL
HWChannelPos3 FR
}
}
]
Include.ctl_remap.File "/conf.d/dmic-common/remap.conf"
Macro [
{
CtlRemapStereoVolSw {
Dst "Mic 1 Capture"
Src "STO1 ADC Capture"
Index0 0
Index1 1
}
}
{
CtlRemapStereoVolSw {
Dst "Mic 2 Capture"
Src "STO1 ADC Capture"
Index0 2
Index1 3
}
}
]