1504 lines
42 KiB
Plaintext
1504 lines
42 KiB
Plaintext
#
|
|
# Copyright(c) 2011 The CyanogenMod Project
|
|
#
|
|
|
|
##
|
|
## Mixer Devices
|
|
##
|
|
|
|
ctl.AndroidPlayback {
|
|
type hw
|
|
card 0
|
|
}
|
|
|
|
ctl.AndroidCapture {
|
|
type hw
|
|
card 0
|
|
}
|
|
|
|
|
|
##
|
|
## Playback Devices
|
|
##
|
|
|
|
pcm.AndroidPlayback {
|
|
|
|
}
|
|
|
|
pcm.AndroidPlayback_Earpiece {
|
|
|
|
}
|
|
|
|
pcm.AndroidPlayback_Speaker {
|
|
type hooks
|
|
slave.pcm {
|
|
type hw
|
|
card 0
|
|
device 0
|
|
}
|
|
hooks.0 {
|
|
type ctl_elems
|
|
hook_args [
|
|
{
|
|
name "Master Playback Switch"
|
|
value.0 on
|
|
value.1 on
|
|
}
|
|
{
|
|
name "Master Playback Volume"
|
|
value.0 93
|
|
value.1 93
|
|
}
|
|
{
|
|
name "Headphone Playback Switch"
|
|
value.0 off
|
|
value.1 off
|
|
}
|
|
{
|
|
name "Headphone Playback Volume"
|
|
value.0 0
|
|
value.1 0
|
|
}
|
|
{
|
|
name "Speaker Playback Switch"
|
|
value.0 on
|
|
value.1 on
|
|
}
|
|
{
|
|
name "Speaker Playback Volume"
|
|
value.0 31
|
|
value.1 31
|
|
}
|
|
{
|
|
name "AD Analog Switch"
|
|
value.0 on
|
|
value.1 on
|
|
}
|
|
{
|
|
name "AD Analog Volume"
|
|
value.0 31
|
|
value.1 31
|
|
}
|
|
{
|
|
name "AD Digital Switch"
|
|
value.0 on
|
|
value.1 on
|
|
}
|
|
{
|
|
name "AD Digital Volume"
|
|
value.0 93
|
|
value.1 93
|
|
}
|
|
{
|
|
name "DAC Playback Switch"
|
|
value.0 on
|
|
value.1 on
|
|
}
|
|
{
|
|
name "DAC Playback Volume"
|
|
value.0 93
|
|
value.1 93
|
|
}
|
|
{
|
|
name "DIR#0 ATT Switch"
|
|
value.0 on
|
|
value.1 on
|
|
}
|
|
{
|
|
name "DIR#0 ATT Volume"
|
|
value.0 93
|
|
value.1 93
|
|
}
|
|
{
|
|
name "DIR#0 Switch"
|
|
value.0 on
|
|
value.1 on
|
|
}
|
|
{
|
|
name "DIR#0 Volume"
|
|
value.0 93
|
|
value.1 93
|
|
}
|
|
{
|
|
name "DIR#1 ATT Switch"
|
|
value.0 on
|
|
value.1 on
|
|
}
|
|
{
|
|
name "DIR#1 ATT Volume"
|
|
value.0 93
|
|
value.1 93
|
|
}
|
|
{
|
|
name "DIR#1 Switch"
|
|
value.0 on
|
|
value.1 on
|
|
}
|
|
{
|
|
name "DIR#1 Volume"
|
|
value.0 93
|
|
value.1 93
|
|
}
|
|
{
|
|
name "DIR#2 ATT Switch"
|
|
value.0 on
|
|
value.1 on
|
|
}
|
|
{
|
|
name "DIR#2 ATT Volume"
|
|
value.0 93
|
|
value.1 93
|
|
}
|
|
{
|
|
name "DIR#2 Switch"
|
|
value.0 on
|
|
value.1 on
|
|
}
|
|
{
|
|
name "DIR#2 Volume"
|
|
value.0 93
|
|
value.1 93
|
|
}
|
|
{
|
|
name "DIT#0 Capture Switch"
|
|
value.0 on
|
|
value.1 on
|
|
}
|
|
{
|
|
name "DIT#0 Capture Volume"
|
|
value.0 93
|
|
value.1 93
|
|
}
|
|
{
|
|
name "DIT#1 Capture Switch"
|
|
value.0 on
|
|
value.1 on
|
|
}
|
|
{
|
|
name "DIT#1 Capture Volume"
|
|
value.0 93
|
|
value.1 93
|
|
}
|
|
{
|
|
name "DIT#2 Capture Switch"
|
|
value.0 on
|
|
value.1 on
|
|
}
|
|
{
|
|
name "DIT#2 Capture Volume"
|
|
value.0 93
|
|
value.1 93
|
|
}
|
|
]
|
|
}
|
|
}
|
|
|
|
pcm.AndroidPlayback_Headset {
|
|
type hooks
|
|
slave.pcm {
|
|
type hw
|
|
card 0
|
|
device 0
|
|
}
|
|
hooks.0 {
|
|
type ctl_elems
|
|
hook_args [
|
|
{
|
|
name "Master Playback Switch"
|
|
value.0 on
|
|
value.1 on
|
|
}
|
|
{
|
|
name "Master Playback Volume"
|
|
value.0 93
|
|
value.1 93
|
|
}
|
|
{
|
|
name "Headphone Playback Switch"
|
|
value.0 on
|
|
value.1 on
|
|
}
|
|
{
|
|
name "Headphone Playback Volume"
|
|
value.0 31
|
|
value.1 31
|
|
}
|
|
{
|
|
name "Speaker Playback Switch"
|
|
value.0 off
|
|
value.1 off
|
|
}
|
|
{
|
|
name "Speaker Playback Volume"
|
|
value.0 0
|
|
value.1 0
|
|
}
|
|
{
|
|
name "AD Analog Switch"
|
|
value.0 on
|
|
value.1 on
|
|
}
|
|
{
|
|
name "AD Analog Volume"
|
|
value.0 31
|
|
value.1 31
|
|
}
|
|
{
|
|
name "AD Digital Switch"
|
|
value.0 on
|
|
value.1 on
|
|
}
|
|
{
|
|
name "AD Digital Volume"
|
|
value.0 93
|
|
value.1 93
|
|
}
|
|
{
|
|
name "DAC Playback Switch"
|
|
value.0 on
|
|
value.1 on
|
|
}
|
|
{
|
|
name "DAC Playback Volume"
|
|
value.0 93
|
|
value.1 93
|
|
}
|
|
{
|
|
name "DIR#0 ATT Switch"
|
|
value.0 on
|
|
value.1 on
|
|
}
|
|
{
|
|
name "DIR#0 ATT Volume"
|
|
value.0 93
|
|
value.1 93
|
|
}
|
|
{
|
|
name "DIR#0 Switch"
|
|
value.0 on
|
|
value.1 on
|
|
}
|
|
{
|
|
name "DIR#0 Volume"
|
|
value.0 93
|
|
value.1 93
|
|
}
|
|
{
|
|
name "DIR#1 ATT Switch"
|
|
value.0 on
|
|
value.1 on
|
|
}
|
|
{
|
|
name "DIR#1 ATT Volume"
|
|
value.0 93
|
|
value.1 93
|
|
}
|
|
{
|
|
name "DIR#1 Switch"
|
|
value.0 on
|
|
value.1 on
|
|
}
|
|
{
|
|
name "DIR#1 Volume"
|
|
value.0 93
|
|
value.1 93
|
|
}
|
|
{
|
|
name "DIR#2 ATT Switch"
|
|
value.0 on
|
|
value.1 on
|
|
}
|
|
{
|
|
name "DIR#2 ATT Volume"
|
|
value.0 93
|
|
value.1 93
|
|
}
|
|
{
|
|
name "DIR#2 Switch"
|
|
value.0 on
|
|
value.1 on
|
|
}
|
|
{
|
|
name "DIR#2 Volume"
|
|
value.0 93
|
|
value.1 93
|
|
}
|
|
{
|
|
name "DIT#0 Capture Switch"
|
|
value.0 on
|
|
value.1 on
|
|
}
|
|
{
|
|
name "DIT#0 Capture Volume"
|
|
value.0 93
|
|
value.1 93
|
|
}
|
|
{
|
|
name "DIT#1 Capture Switch"
|
|
value.0 on
|
|
value.1 on
|
|
}
|
|
{
|
|
name "DIT#1 Capture Volume"
|
|
value.0 93
|
|
value.1 93
|
|
}
|
|
{
|
|
name "DIT#2 Capture Switch"
|
|
value.0 on
|
|
value.1 on
|
|
}
|
|
{
|
|
name "DIT#2 Capture Volume"
|
|
value.0 93
|
|
value.1 93
|
|
}
|
|
]
|
|
}
|
|
}
|
|
|
|
pcm.AndroidPlayback_Headphone {
|
|
type hooks
|
|
slave.pcm {
|
|
type hw
|
|
card 0
|
|
device 0
|
|
}
|
|
hooks.0 {
|
|
type ctl_elems
|
|
hook_args [
|
|
{
|
|
name "Master Playback Switch"
|
|
value.0 on
|
|
value.1 on
|
|
}
|
|
{
|
|
name "Master Playback Volume"
|
|
value.0 93
|
|
value.1 93
|
|
}
|
|
{
|
|
name "Headphone Playback Switch"
|
|
value.0 on
|
|
value.1 on
|
|
}
|
|
{
|
|
name "Headphone Playback Volume"
|
|
value.0 31
|
|
value.1 31
|
|
}
|
|
{
|
|
name "Speaker Playback Switch"
|
|
value.0 off
|
|
value.1 off
|
|
}
|
|
{
|
|
name "Speaker Playback Volume"
|
|
value.0 0
|
|
value.1 0
|
|
}
|
|
{
|
|
name "AD Analog Switch"
|
|
value.0 on
|
|
value.1 on
|
|
}
|
|
{
|
|
name "AD Analog Volume"
|
|
value.0 31
|
|
value.1 31
|
|
}
|
|
{
|
|
name "AD Digital Switch"
|
|
value.0 on
|
|
value.1 on
|
|
}
|
|
{
|
|
name "AD Digital Volume"
|
|
value.0 93
|
|
value.1 93
|
|
}
|
|
{
|
|
name "DAC Playback Switch"
|
|
value.0 on
|
|
value.1 on
|
|
}
|
|
{
|
|
name "DAC Playback Volume"
|
|
value.0 93
|
|
value.1 93
|
|
}
|
|
{
|
|
name "DIR#0 ATT Switch"
|
|
value.0 on
|
|
value.1 on
|
|
}
|
|
{
|
|
name "DIR#0 ATT Volume"
|
|
value.0 93
|
|
value.1 93
|
|
}
|
|
{
|
|
name "DIR#0 Switch"
|
|
value.0 on
|
|
value.1 on
|
|
}
|
|
{
|
|
name "DIR#0 Volume"
|
|
value.0 93
|
|
value.1 93
|
|
}
|
|
{
|
|
name "DIR#1 ATT Switch"
|
|
value.0 on
|
|
value.1 on
|
|
}
|
|
{
|
|
name "DIR#1 ATT Volume"
|
|
value.0 93
|
|
value.1 93
|
|
}
|
|
{
|
|
name "DIR#1 Switch"
|
|
value.0 on
|
|
value.1 on
|
|
}
|
|
{
|
|
name "DIR#1 Volume"
|
|
value.0 93
|
|
value.1 93
|
|
}
|
|
{
|
|
name "DIR#2 ATT Switch"
|
|
value.0 on
|
|
value.1 on
|
|
}
|
|
{
|
|
name "DIR#2 ATT Volume"
|
|
value.0 93
|
|
value.1 93
|
|
}
|
|
{
|
|
name "DIR#2 Switch"
|
|
value.0 on
|
|
value.1 on
|
|
}
|
|
{
|
|
name "DIR#2 Volume"
|
|
value.0 93
|
|
value.1 93
|
|
}
|
|
{
|
|
name "DIT#0 Capture Switch"
|
|
value.0 on
|
|
value.1 on
|
|
}
|
|
{
|
|
name "DIT#0 Capture Volume"
|
|
value.0 93
|
|
value.1 93
|
|
}
|
|
{
|
|
name "DIT#1 Capture Switch"
|
|
value.0 on
|
|
value.1 on
|
|
}
|
|
{
|
|
name "DIT#1 Capture Volume"
|
|
value.0 93
|
|
value.1 93
|
|
}
|
|
{
|
|
name "DIT#2 Capture Switch"
|
|
value.0 on
|
|
value.1 on
|
|
}
|
|
{
|
|
name "DIT#2 Capture Volume"
|
|
value.0 93
|
|
value.1 93
|
|
}
|
|
]
|
|
}
|
|
}
|
|
|
|
pcm.AndroidPlayback_Bluetooth {
|
|
|
|
}
|
|
|
|
pcm.AndroidPlayback_Earpiece_normal {
|
|
|
|
}
|
|
|
|
pcm.AndroidPlayback_Speaker_normal {
|
|
|
|
}
|
|
|
|
pcm.AndroidPlayback_Headset_normal {
|
|
|
|
}
|
|
|
|
pcm.AndroidPlayback_Headphone_normal {
|
|
|
|
}
|
|
|
|
pcm.AndroidPlayback_Bluetooth_normal {
|
|
|
|
}
|
|
|
|
pcm.AndroidPlayback_Speaker_Headset_normal {
|
|
type hooks
|
|
slave.pcm {
|
|
type hw
|
|
card 0
|
|
device 0
|
|
}
|
|
hooks.0 {
|
|
type ctl_elems
|
|
hook_args [
|
|
{
|
|
name "Master Playback Switch"
|
|
value.0 on
|
|
value.1 on
|
|
}
|
|
{
|
|
name "Master Playback Volume"
|
|
value.0 93
|
|
value.1 93
|
|
}
|
|
{
|
|
name "Headphone Playback Switch"
|
|
value.0 on
|
|
value.1 on
|
|
}
|
|
{
|
|
name "Headphone Playback Volume"
|
|
value.0 31
|
|
value.1 31
|
|
}
|
|
{
|
|
name "Speaker Playback Switch"
|
|
value.0 on
|
|
value.1 on
|
|
}
|
|
{
|
|
name "Speaker Playback Volume"
|
|
value.0 93
|
|
value.1 93
|
|
}
|
|
{
|
|
name "AD Analog Switch"
|
|
value.0 on
|
|
value.1 on
|
|
}
|
|
{
|
|
name "AD Analog Volume"
|
|
value.0 31
|
|
value.1 31
|
|
}
|
|
{
|
|
name "AD Digital Switch"
|
|
value.0 on
|
|
value.1 on
|
|
}
|
|
{
|
|
name "AD Digital Volume"
|
|
value.0 93
|
|
value.1 93
|
|
}
|
|
{
|
|
name "DAC Playback Switch"
|
|
value.0 on
|
|
value.1 on
|
|
}
|
|
{
|
|
name "DAC Playback Volume"
|
|
value.0 93
|
|
value.1 93
|
|
}
|
|
{
|
|
name "DIR#0 ATT Switch"
|
|
value.0 on
|
|
value.1 on
|
|
}
|
|
{
|
|
name "DIR#0 ATT Volume"
|
|
value.0 93
|
|
value.1 93
|
|
}
|
|
{
|
|
name "DIR#0 Switch"
|
|
value.0 on
|
|
value.1 on
|
|
}
|
|
{
|
|
name "DIR#0 Volume"
|
|
value.0 93
|
|
value.1 93
|
|
}
|
|
{
|
|
name "DIR#1 ATT Switch"
|
|
value.0 on
|
|
value.1 on
|
|
}
|
|
{
|
|
name "DIR#1 ATT Volume"
|
|
value.0 93
|
|
value.1 93
|
|
}
|
|
{
|
|
name "DIR#1 Switch"
|
|
value.0 on
|
|
value.1 on
|
|
}
|
|
{
|
|
name "DIR#1 Volume"
|
|
value.0 93
|
|
value.1 93
|
|
}
|
|
{
|
|
name "DIR#2 ATT Switch"
|
|
value.0 on
|
|
value.1 on
|
|
}
|
|
{
|
|
name "DIR#2 ATT Volume"
|
|
value.0 93
|
|
value.1 93
|
|
}
|
|
{
|
|
name "DIR#2 Switch"
|
|
value.0 on
|
|
value.1 on
|
|
}
|
|
{
|
|
name "DIR#2 Volume"
|
|
value.0 93
|
|
value.1 93
|
|
}
|
|
{
|
|
name "DIT#0 Capture Switch"
|
|
value.0 on
|
|
value.1 on
|
|
}
|
|
{
|
|
name "DIT#0 Capture Volume"
|
|
value.0 93
|
|
value.1 93
|
|
}
|
|
{
|
|
name "DIT#1 Capture Switch"
|
|
value.0 on
|
|
value.1 on
|
|
}
|
|
{
|
|
name "DIT#1 Capture Volume"
|
|
value.0 93
|
|
value.1 93
|
|
}
|
|
{
|
|
name "DIT#2 Capture Switch"
|
|
value.0 on
|
|
value.1 on
|
|
}
|
|
{
|
|
name "DIT#2 Capture Volume"
|
|
value.0 93
|
|
value.1 93
|
|
}
|
|
]
|
|
}
|
|
}
|
|
|
|
pcm.AndroidPlayback_Speaker_Headphone_normal {
|
|
type hooks
|
|
slave.pcm {
|
|
type hw
|
|
card 0
|
|
device 0
|
|
}
|
|
hooks.0 {
|
|
type ctl_elems
|
|
hook_args [
|
|
{
|
|
name "Master Playback Switch"
|
|
value.0 on
|
|
value.1 on
|
|
}
|
|
{
|
|
name "Master Playback Volume"
|
|
value.0 93
|
|
value.1 93
|
|
}
|
|
{
|
|
name "Headphone Playback Switch"
|
|
value.0 on
|
|
value.1 on
|
|
}
|
|
{
|
|
name "Headphone Playback Volume"
|
|
value.0 31
|
|
value.1 31
|
|
}
|
|
{
|
|
name "Speaker Playback Switch"
|
|
value.0 on
|
|
value.1 on
|
|
}
|
|
{
|
|
name "Speaker Playback Volume"
|
|
value.0 93
|
|
value.1 93
|
|
}
|
|
{
|
|
name "AD Analog Switch"
|
|
value.0 on
|
|
value.1 on
|
|
}
|
|
{
|
|
name "AD Analog Volume"
|
|
value.0 31
|
|
value.1 31
|
|
}
|
|
{
|
|
name "AD Digital Switch"
|
|
value.0 on
|
|
value.1 on
|
|
}
|
|
{
|
|
name "AD Digital Volume"
|
|
value.0 93
|
|
value.1 93
|
|
}
|
|
{
|
|
name "DAC Playback Switch"
|
|
value.0 on
|
|
value.1 on
|
|
}
|
|
{
|
|
name "DAC Playback Volume"
|
|
value.0 93
|
|
value.1 93
|
|
}
|
|
{
|
|
name "DIR#0 ATT Switch"
|
|
value.0 on
|
|
value.1 on
|
|
}
|
|
{
|
|
name "DIR#0 ATT Volume"
|
|
value.0 93
|
|
value.1 93
|
|
}
|
|
{
|
|
name "DIR#0 Switch"
|
|
value.0 on
|
|
value.1 on
|
|
}
|
|
{
|
|
name "DIR#0 Volume"
|
|
value.0 93
|
|
value.1 93
|
|
}
|
|
{
|
|
name "DIR#1 ATT Switch"
|
|
value.0 on
|
|
value.1 on
|
|
}
|
|
{
|
|
name "DIR#1 ATT Volume"
|
|
value.0 93
|
|
value.1 93
|
|
}
|
|
{
|
|
name "DIR#1 Switch"
|
|
value.0 on
|
|
value.1 on
|
|
}
|
|
{
|
|
name "DIR#1 Volume"
|
|
value.0 93
|
|
value.1 93
|
|
}
|
|
{
|
|
name "DIR#2 ATT Switch"
|
|
value.0 on
|
|
value.1 on
|
|
}
|
|
{
|
|
name "DIR#2 ATT Volume"
|
|
value.0 93
|
|
value.1 93
|
|
}
|
|
{
|
|
name "DIR#2 Switch"
|
|
value.0 on
|
|
value.1 on
|
|
}
|
|
{
|
|
name "DIR#2 Volume"
|
|
value.0 93
|
|
value.1 93
|
|
}
|
|
{
|
|
name "DIT#0 Capture Switch"
|
|
value.0 on
|
|
value.1 on
|
|
}
|
|
{
|
|
name "DIT#0 Capture Volume"
|
|
value.0 93
|
|
value.1 93
|
|
}
|
|
{
|
|
name "DIT#1 Capture Switch"
|
|
value.0 on
|
|
value.1 on
|
|
}
|
|
{
|
|
name "DIT#1 Capture Volume"
|
|
value.0 93
|
|
value.1 93
|
|
}
|
|
{
|
|
name "DIT#2 Capture Switch"
|
|
value.0 on
|
|
value.1 on
|
|
}
|
|
{
|
|
name "DIT#2 Capture Volume"
|
|
value.0 93
|
|
value.1 93
|
|
}
|
|
]
|
|
}
|
|
}
|
|
|
|
pcm.AndroidPlayback_Speaker_fmradio {
|
|
|
|
}
|
|
|
|
pcm.AndroidPlayback_Headset_fmradio {
|
|
|
|
}
|
|
|
|
pcm.AndroidPlayback_Speaker_Headset_fmradio {
|
|
|
|
}
|
|
|
|
pcm.AndroidPlayback_Earpiece_ringtone {
|
|
|
|
}
|
|
|
|
pcm.AndroidPlayback_Speaker_ringtone {
|
|
type hooks
|
|
slave.pcm {
|
|
type hw
|
|
card 0
|
|
device 0
|
|
}
|
|
hooks.0 {
|
|
type ctl_elems
|
|
hook_args [
|
|
{
|
|
name "Master Playback Switch"
|
|
value.0 on
|
|
value.1 on
|
|
}
|
|
{
|
|
name "Master Playback Volume"
|
|
value.0 93
|
|
value.1 93
|
|
}
|
|
{
|
|
name "Headphone Playback Switch"
|
|
value.0 off
|
|
value.1 off
|
|
}
|
|
{
|
|
name "Headphone Playback Volume"
|
|
value.0 0
|
|
value.1 0
|
|
}
|
|
{
|
|
name "Speaker Playback Switch"
|
|
value.0 on
|
|
value.1 on
|
|
}
|
|
{
|
|
name "Speaker Playback Volume"
|
|
value.0 31
|
|
value.1 31
|
|
}
|
|
{
|
|
name "AD Analog Switch"
|
|
value.0 on
|
|
value.1 on
|
|
}
|
|
{
|
|
name "AD Analog Volume"
|
|
value.0 31
|
|
value.1 31
|
|
}
|
|
{
|
|
name "AD Digital Switch"
|
|
value.0 on
|
|
value.1 on
|
|
}
|
|
{
|
|
name "AD Digital Volume"
|
|
value.0 93
|
|
value.1 93
|
|
}
|
|
{
|
|
name "DAC Playback Switch"
|
|
value.0 on
|
|
value.1 on
|
|
}
|
|
{
|
|
name "DAC Playback Volume"
|
|
value.0 93
|
|
value.1 93
|
|
}
|
|
{
|
|
name "DIR#0 ATT Switch"
|
|
value.0 on
|
|
value.1 on
|
|
}
|
|
{
|
|
name "DIR#0 ATT Volume"
|
|
value.0 93
|
|
value.1 93
|
|
}
|
|
{
|
|
name "DIR#0 Switch"
|
|
value.0 on
|
|
value.1 on
|
|
}
|
|
{
|
|
name "DIR#0 Volume"
|
|
value.0 93
|
|
value.1 93
|
|
}
|
|
{
|
|
name "DIR#1 ATT Switch"
|
|
value.0 on
|
|
value.1 on
|
|
}
|
|
{
|
|
name "DIR#1 ATT Volume"
|
|
value.0 93
|
|
value.1 93
|
|
}
|
|
{
|
|
name "DIR#1 Switch"
|
|
value.0 on
|
|
value.1 on
|
|
}
|
|
{
|
|
name "DIR#1 Volume"
|
|
value.0 93
|
|
value.1 93
|
|
}
|
|
{
|
|
name "DIR#2 ATT Switch"
|
|
value.0 on
|
|
value.1 on
|
|
}
|
|
{
|
|
name "DIR#2 ATT Volume"
|
|
value.0 93
|
|
value.1 93
|
|
}
|
|
{
|
|
name "DIR#2 Switch"
|
|
value.0 on
|
|
value.1 on
|
|
}
|
|
{
|
|
name "DIR#2 Volume"
|
|
value.0 93
|
|
value.1 93
|
|
}
|
|
{
|
|
name "DIT#0 Capture Switch"
|
|
value.0 on
|
|
value.1 on
|
|
}
|
|
{
|
|
name "DIT#0 Capture Volume"
|
|
value.0 93
|
|
value.1 93
|
|
}
|
|
{
|
|
name "DIT#1 Capture Switch"
|
|
value.0 on
|
|
value.1 on
|
|
}
|
|
{
|
|
name "DIT#1 Capture Volume"
|
|
value.0 93
|
|
value.1 93
|
|
}
|
|
{
|
|
name "DIT#2 Capture Switch"
|
|
value.0 on
|
|
value.1 on
|
|
}
|
|
{
|
|
name "DIT#2 Capture Volume"
|
|
value.0 93
|
|
value.1 93
|
|
}
|
|
]
|
|
}
|
|
}
|
|
|
|
pcm.AndroidPlayback_Headset_ringtone {
|
|
|
|
}
|
|
|
|
pcm.AndroidPlayback_Headphone_ringtone {
|
|
|
|
}
|
|
|
|
pcm.AndroidPlayback_Bluetooth_ringtone {
|
|
|
|
}
|
|
|
|
pcm.AndroidPlayback_Speaker_Headset_ringtone {
|
|
type hooks
|
|
slave.pcm {
|
|
type hw
|
|
card 0
|
|
device 0
|
|
}
|
|
hooks.0 {
|
|
type ctl_elems
|
|
hook_args [
|
|
{
|
|
name "Master Playback Switch"
|
|
value.0 on
|
|
value.1 on
|
|
}
|
|
{
|
|
name "Master Playback Volume"
|
|
value.0 93
|
|
value.1 93
|
|
}
|
|
{
|
|
name "Headphone Playback Switch"
|
|
value.0 on
|
|
value.1 on
|
|
}
|
|
{
|
|
name "Headphone Playback Volume"
|
|
value.0 31
|
|
value.1 31
|
|
}
|
|
{
|
|
name "Speaker Playback Switch"
|
|
value.0 off
|
|
value.1 off
|
|
}
|
|
{
|
|
name "Speaker Playback Volume"
|
|
value.0 0
|
|
value.1 0
|
|
}
|
|
{
|
|
name "AD Analog Switch"
|
|
value.0 on
|
|
value.1 on
|
|
}
|
|
{
|
|
name "AD Analog Volume"
|
|
value.0 31
|
|
value.1 31
|
|
}
|
|
{
|
|
name "AD Digital Switch"
|
|
value.0 on
|
|
value.1 on
|
|
}
|
|
{
|
|
name "AD Digital Volume"
|
|
value.0 93
|
|
value.1 93
|
|
}
|
|
{
|
|
name "DAC Playback Switch"
|
|
value.0 on
|
|
value.1 on
|
|
}
|
|
{
|
|
name "DAC Playback Volume"
|
|
value.0 93
|
|
value.1 93
|
|
}
|
|
{
|
|
name "DIR#0 ATT Switch"
|
|
value.0 on
|
|
value.1 on
|
|
}
|
|
{
|
|
name "DIR#0 ATT Volume"
|
|
value.0 93
|
|
value.1 93
|
|
}
|
|
{
|
|
name "DIR#0 Switch"
|
|
value.0 on
|
|
value.1 on
|
|
}
|
|
{
|
|
name "DIR#0 Volume"
|
|
value.0 93
|
|
value.1 93
|
|
}
|
|
{
|
|
name "DIR#1 ATT Switch"
|
|
value.0 on
|
|
value.1 on
|
|
}
|
|
{
|
|
name "DIR#1 ATT Volume"
|
|
value.0 93
|
|
value.1 93
|
|
}
|
|
{
|
|
name "DIR#1 Switch"
|
|
value.0 on
|
|
value.1 on
|
|
}
|
|
{
|
|
name "DIR#1 Volume"
|
|
value.0 93
|
|
value.1 93
|
|
}
|
|
{
|
|
name "DIR#2 ATT Switch"
|
|
value.0 on
|
|
value.1 on
|
|
}
|
|
{
|
|
name "DIR#2 ATT Volume"
|
|
value.0 93
|
|
value.1 93
|
|
}
|
|
{
|
|
name "DIR#2 Switch"
|
|
value.0 on
|
|
value.1 on
|
|
}
|
|
{
|
|
name "DIR#2 Volume"
|
|
value.0 93
|
|
value.1 93
|
|
}
|
|
{
|
|
name "DIT#0 Capture Switch"
|
|
value.0 on
|
|
value.1 on
|
|
}
|
|
{
|
|
name "DIT#0 Capture Volume"
|
|
value.0 93
|
|
value.1 93
|
|
}
|
|
{
|
|
name "DIT#1 Capture Switch"
|
|
value.0 on
|
|
value.1 on
|
|
}
|
|
{
|
|
name "DIT#1 Capture Volume"
|
|
value.0 93
|
|
value.1 93
|
|
}
|
|
{
|
|
name "DIT#2 Capture Switch"
|
|
value.0 on
|
|
value.1 on
|
|
}
|
|
{
|
|
name "DIT#2 Capture Volume"
|
|
value.0 93
|
|
value.1 93
|
|
}
|
|
]
|
|
}
|
|
}
|
|
|
|
pcm.AndroidPlayback_Speaker_Headphone_ringtone {
|
|
type hooks
|
|
slave.pcm {
|
|
type hw
|
|
card 0
|
|
device 0
|
|
}
|
|
hooks.0 {
|
|
type ctl_elems
|
|
hook_args [
|
|
{
|
|
name "Master Playback Switch"
|
|
value.0 on
|
|
value.1 on
|
|
}
|
|
{
|
|
name "Master Playback Volume"
|
|
value.0 93
|
|
value.1 93
|
|
}
|
|
{
|
|
name "Headphone Playback Switch"
|
|
value.0 on
|
|
value.1 on
|
|
}
|
|
{
|
|
name "Headphone Playback Volume"
|
|
value.0 31
|
|
value.1 31
|
|
}
|
|
{
|
|
name "Speaker Playback Switch"
|
|
value.0 off
|
|
value.1 off
|
|
}
|
|
{
|
|
name "Speaker Playback Volume"
|
|
value.0 0
|
|
value.1 0
|
|
}
|
|
{
|
|
name "AD Analog Switch"
|
|
value.0 on
|
|
value.1 on
|
|
}
|
|
{
|
|
name "AD Analog Volume"
|
|
value.0 31
|
|
value.1 31
|
|
}
|
|
{
|
|
name "AD Digital Switch"
|
|
value.0 on
|
|
value.1 on
|
|
}
|
|
{
|
|
name "AD Digital Volume"
|
|
value.0 93
|
|
value.1 93
|
|
}
|
|
{
|
|
name "DAC Playback Switch"
|
|
value.0 on
|
|
value.1 on
|
|
}
|
|
{
|
|
name "DAC Playback Volume"
|
|
value.0 93
|
|
value.1 93
|
|
}
|
|
{
|
|
name "DIR#0 ATT Switch"
|
|
value.0 on
|
|
value.1 on
|
|
}
|
|
{
|
|
name "DIR#0 ATT Volume"
|
|
value.0 93
|
|
value.1 93
|
|
}
|
|
{
|
|
name "DIR#0 Switch"
|
|
value.0 on
|
|
value.1 on
|
|
}
|
|
{
|
|
name "DIR#0 Volume"
|
|
value.0 93
|
|
value.1 93
|
|
}
|
|
{
|
|
name "DIR#1 ATT Switch"
|
|
value.0 on
|
|
value.1 on
|
|
}
|
|
{
|
|
name "DIR#1 ATT Volume"
|
|
value.0 93
|
|
value.1 93
|
|
}
|
|
{
|
|
name "DIR#1 Switch"
|
|
value.0 on
|
|
value.1 on
|
|
}
|
|
{
|
|
name "DIR#1 Volume"
|
|
value.0 93
|
|
value.1 93
|
|
}
|
|
{
|
|
name "DIR#2 ATT Switch"
|
|
value.0 on
|
|
value.1 on
|
|
}
|
|
{
|
|
name "DIR#2 ATT Volume"
|
|
value.0 93
|
|
value.1 93
|
|
}
|
|
{
|
|
name "DIR#2 Switch"
|
|
value.0 on
|
|
value.1 on
|
|
}
|
|
{
|
|
name "DIR#2 Volume"
|
|
value.0 93
|
|
value.1 93
|
|
}
|
|
{
|
|
name "DIT#0 Capture Switch"
|
|
value.0 on
|
|
value.1 on
|
|
}
|
|
{
|
|
name "DIT#0 Capture Volume"
|
|
value.0 93
|
|
value.1 93
|
|
}
|
|
{
|
|
name "DIT#1 Capture Switch"
|
|
value.0 on
|
|
value.1 on
|
|
}
|
|
{
|
|
name "DIT#1 Capture Volume"
|
|
value.0 93
|
|
value.1 93
|
|
}
|
|
{
|
|
name "DIT#2 Capture Switch"
|
|
value.0 on
|
|
value.1 on
|
|
}
|
|
{
|
|
name "DIT#2 Capture Volume"
|
|
value.0 93
|
|
value.1 93
|
|
}
|
|
]
|
|
}
|
|
}
|
|
|
|
pcm.AndroidPlayback_Earpiece_incall {
|
|
|
|
}
|
|
|
|
pcm.AndroidPlayback_Speaker_incall {
|
|
|
|
}
|
|
|
|
pcm.AndroidPlayback_Headset_incall {
|
|
|
|
}
|
|
|
|
pcm.AndroidPlayback_Headphone_incall {
|
|
|
|
}
|
|
|
|
pcm.AndroidPlayback_Bluetooth_incall {
|
|
|
|
}
|
|
|
|
pcm.AndroidPlayback_Speaker_Headset_incall {
|
|
|
|
}
|
|
|
|
pcm.AndroidPlayback_Speaker_Headphone_incall {
|
|
|
|
}
|
|
|
|
|
|
##
|
|
## Capture devices
|
|
##
|
|
|
|
pcm.AndroidCapture {
|
|
|
|
}
|
|
|
|
pcm.AndroidCapture_Microphone {
|
|
|
|
}
|
|
|
|
pcm.AndroidCapture_Earpiece_normal {
|
|
|
|
}
|
|
|
|
pcm.AndroidCapture_Speaker_normal {
|
|
|
|
}
|
|
|
|
pcm.AndroidCapture_Headset_normal {
|
|
|
|
}
|
|
|
|
pcm.AndroidCapture_Headphone_normal {
|
|
|
|
}
|
|
|
|
pcm.AndroidCapture_Bluetooth_normal {
|
|
|
|
}
|
|
|
|
pcm.AndroidCapture_Speaker_Headset_normal {
|
|
|
|
}
|
|
|
|
pcm.AndroidCapture_Speaker_Headphone_normal {
|
|
|
|
}
|
|
|
|
pcm.AndroidCapture_Speaker_ringtone {
|
|
|
|
}
|
|
|
|
pcm.AndroidCapture_Headset_ringtone {
|
|
|
|
}
|
|
|
|
pcm.AndroidCapture_Headphone_ringtone {
|
|
|
|
}
|
|
|
|
pcm.AndroidCapture_Earpiece_incall {
|
|
|
|
}
|
|
|
|
pcm.AndroidCapture_Speaker_incall {
|
|
|
|
}
|
|
|
|
pcm.AndroidCapture_Headset_incall {
|
|
|
|
}
|
|
|
|
pcm.AndroidCapture_Headphone_incall {
|
|
|
|
}
|
|
|
|
pcm.AndroidCapture_Bluetooth_incall {
|
|
|
|
}
|
|
|
|
pcm.AndroidCapture_Speaker_Headset_incall {
|
|
|
|
}
|
|
|
|
pcm.AndroidCapture_Speaker_Headphone_incall {
|
|
|
|
}
|