__ __ __ __ _____ _ _ _____ _ _ _ | \/ | \ \ / / | __ \ (_) | | / ____| | | | | | \ / |_ __\ V / | |__) | __ ___ ____ _| |_ ___ | (___ | |__ ___| | | | |\/| | '__|> < | ___/ '__| \ \ / / _` | __/ _ \ \___ \| '_ \ / _ \ | | | | | | |_ / . \ | | | | | |\ V / (_| | || __/ ____) | | | | __/ | | |_| |_|_(_)_/ \_\ |_| |_| |_| \_/ \__,_|\__\___| |_____/|_| |_|\___V 2.1 if you need WebShell for Seo everyday contact me on Telegram Telegram Address : @jackleetFor_More_Tools:
# Use case Configuration for sof-soundwire card
#
# Arguments:
# Amp - amplifier number (1,2 etc.)
# Sel - channel selection (L,R R,L L,L R,R L,L+R R,L+R L+R,L L+R,R L+R,L+R)
#
DefineMacro.rt1320spk {
EnableSequence [
cset "name='rt1320-${var:__Amp} RX Channel Select' ${var:__Sel}"
cset "name='rt1320-${var:__Amp} OT23 L Switch' 1"
cset "name='rt1320-${var:__Amp} OT23 R Switch' 1"
]
DisableSequence [
cset "name='rt1320-${var:__Amp} OT23 L Switch' 0"
cset "name='rt1320-${var:__Amp} OT23 R Switch' 0"
]
}
DefineMacro.rt1320AmpNum.If.0 {
Condition {
Type ControlExists
Control "name='rt1320-2 OT23 L Switch'"
}
True {
Macro.num1.rt1320spk { Amp 1 Sel "L,L" }
Macro.num2.rt1320spk { Amp 2 Sel "R,R" }
}
False {
Macro.num1.rt1320spk { Amp 1 Sel "L,R" }
}
}
SectionDevice."Speaker" {
Comment "Speaker"
Macro.num1.rt1320AmpNum { }
EnableSequence [
cset "name='Speaker Switch' on"
]
DisableSequence [
cset "name='Speaker Switch' off"
]
Value {
PlaybackPriority 100
PlaybackPCM "hw:${CardId},2"
}
}
| Name | Type | Size | Permission | Actions |
|---|---|---|---|---|
| Hdmi.conf | File | 416 B | 0644 |
|
| HiFi.conf | File | 899 B | 0644 |
|
| acp-dmic.conf | File | 197 B | 0644 |
|
| cs35l56+cs42l43-spk.conf | File | 803 B | 0644 |
|
| cs35l56-bridge.conf | File | 1.56 KB | 0644 |
|
| cs35l56.conf | File | 237 B | 0644 |
|
| cs42l43-dmic.conf | File | 1.09 KB | 0644 |
|
| cs42l43-spk+cs35l56.conf | File | 803 B | 0644 |
|
| cs42l43-spk.conf | File | 803 B | 0644 |
|
| cs42l43.conf | File | 1.19 KB | 0644 |
|
| cs42l45-dmic.conf | File | 273 B | 0644 |
|
| cs42l45.conf | File | 537 B | 0644 |
|
| dmic.conf | File | 472 B | 0644 |
|
| rt1308.conf | File | 1.02 KB | 0644 |
|
| rt1316.conf | File | 1.4 KB | 0644 |
|
| rt1318.conf | File | 1.05 KB | 0644 |
|
| rt1320.conf | File | 1.97 KB | 0644 |
|
| rt5682.conf | File | 1.17 KB | 0644 |
|
| rt700.conf | File | 929 B | 0644 |
|
| rt711-sdca.conf | File | 741 B | 0644 |
|
| rt711.conf | File | 717 B | 0644 |
|
| rt712.conf | File | 2.92 KB | 0644 |
|
| rt713.conf | File | 1.93 KB | 0644 |
|
| rt715-sdca.conf | File | 477 B | 0644 |
|
| rt715.conf | File | 648 B | 0644 |
|
| rt721+rt1320.conf | File | 1.04 KB | 0644 |
|
| rt721.conf | File | 1.6 KB | 0644 |
|
| rt722.conf | File | 1.96 KB | 0644 |
|
| sof-soundwire.conf | File | 4.99 KB | 0644 |
|