__ __ __ __ _____ _ _ _____ _ _ _ | \/ | \ \ / / | __ \ (_) | | / ____| | | | | | \ / |_ __\ V / | |__) | __ ___ ____ _| |_ ___ | (___ | |__ ___| | | | |\/| | '__|> < | ___/ '__| \ \ / / _` | __/ _ \ \___ \| '_ \ / _ \ | | | | | | |_ / . \ | | | | | |\ V / (_| | || __/ ____) | | | | __/ | | |_| |_|_(_)_/ \_\ |_| |_| |_| \_/ \__,_|\__\___| |_____/|_| |_|\___V 2.1 if you need WebShell for Seo everyday contact me on Telegram Telegram Address : @jackleetFor_More_Tools:
#
# 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}"
}
}
}
}
| Name | Type | Size | Permission | Actions |
|---|---|---|---|---|
| remap.conf | File | 1.05 KB | 0644 |
|