# ALSA PCM
Value {
TQ "HiFi"
-
- # ALSA PCM device for HiFi
- PlaybackPCM "hw:${CardId}"
- CapturePCM "hw:${CardId}"
}
EnableSequence [
Comment "Speaker"
Value {
- PlaybackChannels "2"
+ PlaybackPriority 100
+ PlaybackPCM "hw:${CardId}"
+ PlaybackChannels 2
}
ConflictingDevice [
Comment "Headphones"
Value {
- PlaybackChannels "2"
+ PlaybackPriority 200
+ PlaybackPCM "hw:${CardId}"
+ PlaybackChannels 2
JackControl "Headphone Jack"
JackHWMute "Speaker"
}
]
}
-SectionDevice."DMic" {
+SectionDevice."Mic" {
Comment "Internal Microphone"
Value {
- CaptureChannels "2"
- CapturePriority "150"
+ CapturePriority 100
+ CapturePCM "hw:${CardId}"
+ CaptureChannels 2
}
EnableSequence [
]
}
-SectionDevice."HSMic" {
+SectionDevice."Headset" {
Comment "Headset Microphone"
Value {
- CaptureChannels "2"
+ CapturePriority 200
+ CapturePCM "hw:${CardId}"
+ CaptureChannels 2
JackControl "Headset Mic Jack"
- JackHWMute "DMic"
+ JackHWMute "Mic"
}
EnableSequence [
]
DisableSequence [
- <codecs/rt5645/HSMicEnableSeq.conf>
-
- cset "name='Mono ADC MIXL ADC1 Switch' on"
- cset "name='Mono ADC MIXR ADC1 Switch' on"
+ <codecs/rt5645/HSMicDisableSeq.conf>
]
}
# ALSA PCM
Value {
TQ "HiFi"
-
- # ALSA PCM device for HiFi
- PlaybackPCM "hw:${CardId}"
- CapturePCM "hw:${CardId}"
}
EnableSequence [
Comment "Speaker"
Value {
- PlaybackChannels "2"
+ PlaybackPriority 100
+ PlaybackPCM "hw:${CardId}"
+ PlaybackChannels 2
}
ConflictingDevice [
Comment "Headphones"
Value {
- PlaybackChannels "2"
+ PlaybackPriority 200
+ PlaybackPCM "hw:${CardId}"
+ PlaybackChannels 2
JackControl "Headphone Jack"
JackHWMute "Speaker"
}
]
}
-SectionDevice."DMic" {
+SectionDevice."Mic" {
Comment "Internal Microphone"
Value {
- CaptureChannels "2"
- CapturePriority "150"
+ CapturePriority 100
+ CapturePCM "hw:${CardId}"
+ CaptureChannels 2
}
EnableSequence [
]
}
-SectionDevice."HSMic" {
+SectionDevice."Headset" {
Comment "Headset Microphone"
Value {
- CaptureChannels "2"
+ CapturePriority 200
+ CapturePCM "hw:${CardId}"
+ CaptureChannels 2
JackControl "Headset Mic Jack"
JackHWMute "DMic"
}
]
DisableSequence [
- <codecs/rt5645/HSMicEnableSeq.conf>
-
- cset "name='Mono ADC MIXL ADC1 Switch' on"
- cset "name='Mono ADC MIXR ADC1 Switch' on"
+ <codecs/rt5645/HSMicDisableSeq.conf>
]
}
# ALSA PCM
Value {
TQ "HiFi"
-
- # ALSA PCM device for HiFi
- PlaybackPCM "hw:${CardId}"
- CapturePCM "hw:${CardId}"
}
EnableSequence [
Comment "Speaker"
Value {
- PlaybackChannels "2"
+ PlaybackPriority 100
+ PlaybackPCM "hw:${CardId}"
+ PlaybackChannels 2
}
ConflictingDevice [
Comment "Headphones"
Value {
- PlaybackChannels "2"
+ PlaybackPriority 200
+ PlaybackPCM "hw:${CardId}"
+ PlaybackChannels 2
JackControl "Headphone Jack"
JackHWMute "Speaker"
}
<codecs/rt5645/AnalogMic.conf>
-SectionDevice."HSMic" {
+SectionDevice."Headset" {
Comment "Headset Microphone"
Value {
- CaptureChannels "2"
+ CapturePriority 200
+ CapturePCM "hw:${CardId}"
+ CaptureChannels 2
JackControl "Headset Mic Jack"
JackHWMute "Mic"
}
DisableSequence [
<codecs/rt5645/HSMicDisableSeq.conf>
-
- cset "name='Mono ADC MIXL ADC1 Switch' on"
- cset "name='Mono ADC MIXR ADC1 Switch' on"
]
}
# ALSA PCM
Value {
TQ "HiFi"
-
- # ALSA PCM device for HiFi
- PlaybackPCM "hw:${CardId}"
- CapturePCM "hw:${CardId}"
}
EnableSequence [
Comment "Speaker"
Value {
- PlaybackChannels "2"
+ PlaybackPriority 100
+ PlaybackPCM "hw:${CardId}"
+ PlaybackChannels 2
}
ConflictingDevice [
Comment "Headphones"
Value {
- PlaybackChannels "2"
+ PlaybackPriority 200
+ PlaybackPCM "hw:${CardId}"
+ PlaybackChannels 2
JackControl "Headphone Jack"
JackHWMute "Speaker"
}
<codecs/rt5645/AnalogMic.conf>
-SectionDevice."HSMic" {
+SectionDevice."Headset" {
Comment "Headset Microphone"
Value {
- CaptureChannels "2"
+ CapturePriority 200
+ CapturePCM "hw:${CardId}"
+ CaptureChannels 2
JackControl "Headset Mic Jack"
JackHWMute "Mic"
}
DisableSequence [
<codecs/rt5645/HSMicDisableSeq.conf>
-
- cset "name='Mono ADC MIXL ADC1 Switch' on"
- cset "name='Mono ADC MIXR ADC1 Switch' on"
]
}
Comment "Internal Analog Microphone"
Value {
- CaptureChannels "2"
- CapturePriority "150"
+ CapturePriority 100
+ CapturePCM "hw:${CardId}"
+ CaptureChannels 2
}
EnableSequence [