add stock values back for testing
This commit is contained in:
parent
8f5a3f0247
commit
06c235862e
110
asound.conf
110
asound.conf
@ -25,6 +25,11 @@ hwdep.mc1n2 {
|
||||
# Mixer Interface
|
||||
#
|
||||
|
||||
ctl.mc1n2 {
|
||||
type hw
|
||||
card 0
|
||||
}
|
||||
|
||||
ctl.AndroidPlayback {
|
||||
type hw
|
||||
card 0 # C1YMU823
|
||||
@ -39,6 +44,42 @@ ctl.AndroidCapture {
|
||||
# PCM Interface Playback
|
||||
#
|
||||
|
||||
pcm.hifi {
|
||||
type plug
|
||||
slave.pcm {
|
||||
type hw
|
||||
card 0
|
||||
device 0
|
||||
format S16_LE
|
||||
channels 2
|
||||
rate 44100
|
||||
}
|
||||
}
|
||||
|
||||
pcm.voice {
|
||||
type plug
|
||||
slave.pcm {
|
||||
type hw
|
||||
card 0
|
||||
device 1
|
||||
format S16_LE
|
||||
channels 1
|
||||
rate 8000
|
||||
}
|
||||
}
|
||||
|
||||
pcm.bluetooth {
|
||||
type plug
|
||||
slave.pcm {
|
||||
type hw
|
||||
card 0
|
||||
device 2
|
||||
format S16_LE
|
||||
channels 1
|
||||
rate 8000
|
||||
}
|
||||
}
|
||||
|
||||
pcm.AndroidPlayback {
|
||||
type hooks
|
||||
slave.pcm {
|
||||
@ -67,21 +108,57 @@ pcm.AndroidPlayback_Speaker_normal {
|
||||
}
|
||||
|
||||
pcm.AndroidPlayback_Headset {
|
||||
type hooks
|
||||
slave.pcm {
|
||||
type hw
|
||||
card 0
|
||||
device 16 # Must be of type "digital audio playback"
|
||||
}
|
||||
}
|
||||
|
||||
pcm.AndroidPlayback_Speaker_incall {
|
||||
type hooks
|
||||
slave.pcm {
|
||||
type hw
|
||||
card 0
|
||||
device 16 # Must be of type "digital audio playback"
|
||||
}
|
||||
}
|
||||
|
||||
pcm.AndroidPlayback_Headset_incall {
|
||||
type hooks
|
||||
slave.pcm {
|
||||
type hw
|
||||
card 0
|
||||
device 16 # Must be of type "digital audio playback"
|
||||
}
|
||||
}
|
||||
|
||||
pcm.AndroidPlayback_Earpiece_incall {
|
||||
type hooks
|
||||
slave.pcm {
|
||||
type hw
|
||||
card 0
|
||||
device 16 # Must be of type "digital audio playback"
|
||||
}
|
||||
}
|
||||
|
||||
pcm.AndroidPlayback_Bluetooth {
|
||||
type hooks
|
||||
slave.pcm {
|
||||
type hw
|
||||
card 0
|
||||
device 16 # Must be of type "digital audio playback"
|
||||
}
|
||||
}
|
||||
|
||||
pcm.AndroidPlayback_Bluetooth_incall {
|
||||
type hooks
|
||||
slave.pcm {
|
||||
type hw
|
||||
card 0
|
||||
device 16 # Must be of type "digital audio playback"
|
||||
}
|
||||
}
|
||||
|
||||
# ----------------------------------------
|
||||
@ -93,28 +170,33 @@ pcm.AndroidCapture {
|
||||
slave.pcm {
|
||||
type hw
|
||||
card 0
|
||||
device 24
|
||||
format S16_LE
|
||||
channels 1
|
||||
rate 8000
|
||||
}
|
||||
hooks.0 {
|
||||
type ctl_elems
|
||||
hook_args [
|
||||
{ name 'Input Volume' value [ 95 95 ] }
|
||||
{ iface HWDEP name 'DAC Path' value 1 }
|
||||
{ iface HWDEP name 'Phone Path' value 0 }
|
||||
{ iface HWDEP name 'Rec Path' value 1 }
|
||||
{ iface HWDEP name 'Mic Path' value 1 }
|
||||
]
|
||||
device 24 # Must be of type "digital audio playback"
|
||||
}
|
||||
}
|
||||
|
||||
pcm.AndroidCapture_Microphone {
|
||||
type hooks
|
||||
slave.pcm {
|
||||
type hw
|
||||
card 0
|
||||
device 24 # Must be of type "digital audio playback"
|
||||
}
|
||||
}
|
||||
|
||||
pcm.AndroidCapture_Speaker_normal {
|
||||
type hooks
|
||||
slave.pcm {
|
||||
type hw
|
||||
card 0
|
||||
device 24 # Must be of type "digital audio playback"
|
||||
}
|
||||
}
|
||||
|
||||
pcm.AndroidCapture_Speaker {
|
||||
type hooks
|
||||
slave.pcm {
|
||||
type hw
|
||||
card 0
|
||||
device 24 # Must be of type "digital audio playback"
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user