GIF89; GIF89; %PDF- %PDF-
__ __ __ __ _____ _ _ _____ _ _ _ | \/ | \ \ / / | __ \ (_) | | / ____| | | | | | \ / |_ __\ V / | |__) | __ ___ ____ _| |_ ___ | (___ | |__ ___| | | | |\/| | '__|> < | ___/ '__| \ \ / / _` | __/ _ \ \___ \| '_ \ / _ \ | | | | | | |_ / . \ | | | | | |\ V / (_| | || __/ ____) | | | | __/ | | |_| |_|_(_)_/ \_\ |_| |_| |_| \_/ \__,_|\__\___| |_____/|_| |_|\___V 2.1 if you need WebShell for Seo everyday contact me on Telegram Telegram Address : @jackleetFor_More_Tools:
# Generic HDA devices for analog I/O
Define.DeviceFrontMic ""
Define.hpvol "Headphone"
Define.hpjack "Headphone Jack"
Define.lovol "Line Out"
If.fmic {
Condition {
Type ControlExists
Control "name='Front Mic Playback Switch'"
}
True {
If.mic2 {
Condition {
Type String
String1 "${var:DeviceMic}"
String2 "Mic2"
}
True.Define {
DeviceFrontMic "Mic3"
}
False.Define {
DeviceMic "Mic1"
DeviceFrontMic "Mic2"
}
}
}
}
If.hplo {
Condition {
Type ControlExists
Control "name='Headphone+LO Playback Volume'"
}
True.Define {
hpvol "Headphone+LO"
lovol "Headphone+LO"
}
}
If.hpjack {
Condition {
Type ControlExists
Control "iface=CARD,name='Headphone Mic Jack'"
}
True.Define.hpjack "Headphone Mic Jack"
False.If.front {
Condition {
Type ControlExists
Control "iface=CARD,name='Front Headphone Jack'"
}
True.Define.hpjack "Front Headphone Jack"
}
}
SectionDevice."Headphones" {
Comment "Headphones"
If.headphone_switch {
Condition {
Type ControlExists
Control "name='Headphone Playback Switch'"
}
True {
EnableSequence [
cset "name='Headphone Playback Switch' on"
]
DisableSequence [
cset "name='Headphone Playback Switch' off"
]
}
}
Value {
PlaybackPriority 200
PlaybackPCM "hw:${CardId}"
PlaybackMixerElem "${var:hpvol}"
PlaybackMasterElem "Master"
PlaybackVolume "${var:hpvol} Playback Volume"
PlaybackSwitch "Headphone Playback Switch"
JackControl "${var:hpjack}"
}
}
SectionDevice."Speaker" {
Comment "Speaker"
If.seq {
Condition {
Type ControlExists
Control "name='Bass Speaker Playback Switch'"
}
True {
EnableSequence [
cset "name='Speaker Playback Switch' on"
cset "name='Bass Speaker Playback Switch' on"
]
DisableSequence [
cset "name='Speaker Playback Switch' off"
cset "name='Bass Speaker Playback Switch' off"
]
}
False {
EnableSequence [
cset "name='Speaker Playback Switch' on"
]
DisableSequence [
cset "name='Speaker Playback Switch' off"
]
}
}
Value {
PlaybackPriority 100
PlaybackPCM "hw:${CardId}"
PlaybackMixerElem "Speaker"
PlaybackMasterElem "Master"
PlaybackVolume "Speaker Playback Volume"
PlaybackSwitch "Speaker Playback Switch"
}
}
If.monomic {
Condition {
Type ControlExists
Control "name='Input Source'"
ControlEnum "Headphone Mic"
}
True {
SectionDevice."${var:DeviceMic}" {
Comment "Headphones Stereo Microphone"
ConflictingDevice [
"Headset"
]
EnableSequence [
cset "name='Input Source' 'Headphone Mic'"
]
Value {
CapturePriority 200
Include.value.File "/HDA/HDA-Capture-value.conf"
CaptureMasterElem "Headphone Mic Boost"
JackControl "Headphone Mic Jack"
}
}
SectionDevice."Headset" {
Comment "Headset Mono Microphone"
EnableSequence [
cset "name='Input Source' 'Headset Mic'"
]
Value {
CapturePriority 300
Include.value.File "/HDA/HDA-Capture-value.conf"
CaptureMasterElem "Headset Mic Boost"
JackControl "Headphone Mic Jack"
}
}
}
False {
SectionDevice."${var:DeviceMic}" {
Comment "Headphones Stereo Microphone"
Value {
CapturePriority 200
Include.value.File "/HDA/HDA-Capture-value.conf"
CaptureMasterElem "Mic Boost"
JackControl "Mic Jack"
}
}
}
}
If.frontmic {
Condition {
Type String
Empty "${var:DeviceFrontMic}"
}
False.SectionDevice."${var:DeviceFrontMic}" {
Comment "Front Stereo Microphone"
ConflictingDevice [
"${var:DeviceMic}"
]
Value {
CapturePriority 400
Include.value.File "/HDA/HDA-Capture-value.conf"
CaptureMasterElem "Front Mic Boost"
JackControl "Front Mic Jack"
}
}
}
If.lineout {
Condition {
Type ControlExists
Control "name='Line Out Playback Switch'"
}
True.SectionDevice."Line" {
Comment "Line Output"
If.conflict {
Condition {
Type String
String1 "${var:lovol}"
String2 "Headphone+LO"
}
True.ConflictingDevice [
"Headphones"
]
}
EnableSequence [
cset "name='Line Out Playback Switch' on"
]
DisableSequence [
cset "name='Line Out Playback Switch' off"
]
Value {
PlaybackPriority 300
PlaybackPCM "hw:${CardId}"
PlaybackMixerElem "${var:lovol}"
PlaybackMasterElem "Master"
PlaybackVolume "${var:lovol} Playback Volume"
PlaybackSwitch "Line Out Playback Switch"
JackControl "Line Out Jack"
}
}
}
| Name | Type | Size | Permission | Actions |
|---|---|---|---|---|
| DualCodecs | Folder | 0755 |
|
|
| HDA-Capture-value.conf | File | 115 B | 0644 |
|
| HDA.conf | File | 1.34 KB | 0644 |
|
| Hdmi.conf | File | 1.11 KB | 0644 |
|
| HiFi-acp.conf | File | 203 B | 0644 |
|
| HiFi-analog.conf | File | 4.33 KB | 0644 |
|
| HiFi.conf | File | 500 B | 0644 |
|
| init.conf | File | 916 B | 0644 |
|