Remove remap macro

It was never used and caused UCM warnings
pull/4/head
WeirdTreeThing 2023-08-22 09:34:07 -04:00
parent 736858bd63
commit 3aab033f1d
No known key found for this signature in database
GPG Key ID: 1F56A4B52998B851
18 changed files with 0 additions and 381 deletions

View File

@ -35,25 +35,6 @@ Macro [
}
]
Include.ctl_remap.File "/conf.d/dmic-common/remap.conf"
Macro [
{
CtlRemapStereoVolSw {
Dst "Mic 1 Capture"
Index0 0
Index1 1
}
}
{
CtlRemapStereoVolSw {
Dst "Mic 2 Capture"
Index0 2
Index1 3
}
}
]
SectionDevice."Speaker" {
Comment "Internal Speakers"

View File

@ -29,25 +29,6 @@ Macro [
}
]
Include.ctl_remap.File "/conf.d/dmic-common/remap.conf"
Macro [
{
CtlRemapStereoVolSw {
Dst "Mic 1 Capture"
Index0 0
Index1 1
}
}
{
CtlRemapStereoVolSw {
Dst "Mic 2 Capture"
Index0 2
Index1 3
}
}
]
SectionDevice."Speaker" {
Comment "Speaker"

View File

@ -46,25 +46,6 @@ Macro [
}
]
Include.ctl_remap.File "/conf.d/dmic-common/remap.conf"
Macro [
{
CtlRemapStereoVolSw {
Dst "Mic 1 Capture"
Index0 0
Index1 1
}
}
{
CtlRemapStereoVolSw {
Dst "Mic 2 Capture"
Index0 2
Index1 3
}
}
]
SectionDevice."Speaker" {
Comment "Speaker"

View File

@ -41,25 +41,6 @@ Macro [
}
]
Include.ctl_remap.File "/conf.d/dmic-common/remap.conf"
Macro [
{
CtlRemapStereoVolSw {
Dst "Mic 1 Capture"
Index0 0
Index1 1
}
}
{
CtlRemapStereoVolSw {
Dst "Mic 2 Capture"
Index0 2
Index1 3
}
}
]
SectionDevice."Speaker" {
Comment "Speaker"

View File

@ -52,25 +52,6 @@ Macro [
}
]
Include.ctl_remap.File "/conf.d/dmic-common/remap.conf"
Macro [
{
CtlRemapStereoVolSw {
Dst "Mic 1 Capture"
Index0 0
Index1 1
}
}
{
CtlRemapStereoVolSw {
Dst "Mic 2 Capture"
Index0 2
Index1 3
}
}
]
SectionDevice."Speaker" {
Comment "Speaker"

View File

@ -53,25 +53,6 @@ Macro [
}
]
Include.ctl_remap.File "/conf.d/dmic-common/remap.conf"
Macro [
{
CtlRemapStereoVolSw {
Dst "Mic 1 Capture"
Index0 0
Index1 1
}
}
{
CtlRemapStereoVolSw {
Dst "Mic 2 Capture"
Index0 2
Index1 3
}
}
]
SectionDevice."Speaker" {
Comment "Speaker"

View File

@ -47,25 +47,6 @@ Macro [
}
]
Include.ctl_remap.File "/conf.d/dmic-common/remap.conf"
Macro [
{
CtlRemapStereoVolSw {
Dst "Mic 1 Capture"
Index0 0
Index1 1
}
}
{
CtlRemapStereoVolSw {
Dst "Mic 2 Capture"
Index0 2
Index1 3
}
}
]
SectionDevice."Speaker" {
Comment "Speaker"

View File

@ -36,25 +36,6 @@ Macro [
}
]
Include.ctl_remap.File "/conf.d/dmic-common/remap.conf"
Macro [
{
CtlRemapStereoVolSw {
Dst "Mic 1 Capture"
Index0 0
Index1 1
}
}
{
CtlRemapStereoVolSw {
Dst "Mic 2 Capture"
Index0 2
Index1 3
}
}
]
SectionDevice."Speaker" {
Comment "Speaker"

View File

@ -1,50 +0,0 @@
#
# Remap controls
#
#
# Macro CtlRemapMonoVolSw
#
# Arguments:
# Dst - Destination control name
# Src - Source control name
# Index - hardware index for value 0 (mono)
#
DefineMacro.CtlRemapMonoVolSw {
LibraryConfig.pcm.SubstiConfig {
ctl.default.map {
"name='${var:__Dst} Volume'"."name='${var:__Src} Volume'" {
vindex.0 "${evali:$__Index}"
}
"name='${var:__Dst} Switch'"."name='${var:__Src} Switch'" {
vindex.0 "${evali:$__Index}"
}
}
}
}
#
# Macro CtlRemapStereoVolSw
#
# Arguments:
# Dst - Destination control name
# Src - Source control name
# Index0 - hardware index for the application index 0
# Index1 - hardware index for the application index 1
#
DefineMacro.CtlRemapStereoVolSw {
LibraryConfig.pcm.SubstiConfig {
ctl.default.map {
"name='${var:__Dst} Volume'"."name='${var:__Src} Volume'" {
vindex.0 "${evali:$__Index0}"
vindex.1 "${evali:$__Index1}"
}
"name='${var:__Dst} Switch'"."name='${var:__Src} Switch'" {
vindex.0 "${evali:$__Index0}"
vindex.1 "${evali:$__Index1}"
}
}
}
}

View File

@ -32,25 +32,6 @@ Macro [
}
]
Include.ctl_remap.File "/conf.d/dmic-common/remap.conf"
Macro [
{
CtlRemapStereoVolSw {
Dst "Mic 1 Capture"
Index0 0
Index1 1
}
}
{
CtlRemapStereoVolSw {
Dst "Mic 2 Capture"
Index0 2
Index1 3
}
}
]
SectionDevice."Speaker" {
Comment "Speaker"

View File

@ -47,25 +47,6 @@ Macro [
}
]
Include.ctl_remap.File "/conf.d/dmic-common/remap.conf"
Macro [
{
CtlRemapStereoVolSw {
Dst "Mic 1 Capture"
Index0 0
Index1 1
}
}
{
CtlRemapStereoVolSw {
Dst "Mic 2 Capture"
Index0 2
Index1 3
}
}
]
SectionDevice."Speaker" {
Comment "Speaker"

View File

@ -43,25 +43,6 @@ Macro [
}
]
Include.ctl_remap.File "/conf.d/dmic-common/remap.conf"
Macro [
{
CtlRemapStereoVolSw {
Dst "Mic 1 Capture"
Index0 0
Index1 1
}
}
{
CtlRemapStereoVolSw {
Dst "Mic 2 Capture"
Index0 2
Index1 3
}
}
]
SectionDevice."Speaker" {
Comment "Speaker"

View File

@ -65,25 +65,6 @@ Macro [
}
]
Include.ctl_remap.File "/conf.d/dmic-common/remap.conf"
Macro [
{
CtlRemapStereoVolSw {
Dst "Mic 1 Capture"
Index0 0
Index1 1
}
}
{
CtlRemapStereoVolSw {
Dst "Mic 2 Capture"
Index0 2
Index1 3
}
}
]
SectionDevice."Speaker" {
Comment "Speaker"

View File

@ -41,27 +41,6 @@ Macro [
}
]
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
}
}
]
SectionDevice."Speaker" {
Comment "Speaker"

View File

@ -41,25 +41,6 @@ Macro [
}
]
Include.ctl_remap.File "/conf.d/dmic-common/remap.conf"
Macro [
{
CtlRemapStereoVolSw {
Dst "Mic 1 Capture"
Index0 0
Index1 1
}
}
{
CtlRemapStereoVolSw {
Dst "Mic 2 Capture"
Index0 2
Index1 3
}
}
]
SectionDevice."Speaker" {
Comment "Speaker"

View File

@ -55,27 +55,6 @@ Macro [
}
]
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
}
}
]
SectionDevice."Speaker" {
Comment "Speaker"

View File

@ -50,27 +50,6 @@ Macro [
}
]
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
}
}
]
SectionDevice."Speaker" {
Comment "Speaker"

View File

@ -41,27 +41,6 @@ Macro [
}
]
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
}
}
]
SectionDevice."Speaker" {
Comment "Speaker"