From b81410689ec235f7f49de92cf6c170039a08c0b8 Mon Sep 17 00:00:00 2001 From: WeirdTreeThing Date: Tue, 23 May 2023 22:29:48 -0400 Subject: [PATCH] dmic: remove custom macro --- dmic-common/dmic-split-macro.conf | 22 ------------------ dmic-common/dmic-split-remap.conf | 38 ------------------------------- 2 files changed, 60 deletions(-) delete mode 100644 dmic-common/dmic-split-macro.conf delete mode 100644 dmic-common/dmic-split-remap.conf diff --git a/dmic-common/dmic-split-macro.conf b/dmic-common/dmic-split-macro.conf deleted file mode 100644 index 377c575..0000000 --- a/dmic-common/dmic-split-macro.conf +++ /dev/null @@ -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 - } -} diff --git a/dmic-common/dmic-split-remap.conf b/dmic-common/dmic-split-remap.conf deleted file mode 100644 index 2ece879..0000000 --- a/dmic-common/dmic-split-remap.conf +++ /dev/null @@ -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 - } - } -]