[Galaxy Tab Q&A, Help & Troubleshooting] chinmayfun:
Issue: When bluetooth(A2DP) is connected and incoming call comes, only the bluetooth ringer is active, if I am not wearing the headset it results in missing the calls.

Goal: to edit the file so when call comes both the phone and the bluetooth notifies about the incoming call.

Existing asound.conf file:

# Android ALSA configuration file for the WM8994 audio.

##################################################################################################################################
#
#	{name "Playback Path"	value 2}	# 0:OFF 1:RCV 2:SPK 3:HP 4:HP_NO_MIC 5:BT 6:SPK_HP 7:RING_SPK
#	# 8:RING_HP 9:RING_HP_NO_MIC 10:RING_SPK_HP 11:EXTRA_DOCK_SPEAKER
#	# 12:TV_OUT 13:HDMI_TV_OUT 14:HDMI_SPK 15:HDMI_DUAL
#	{name "Capture MIC Path"	value 1}	# 0:Main Mic 1:Ear MIC 2:BT MIC
#	{name "Voice Call Path"	value 1}	# 0:OFF 1:RCV 2:SPK 3:HP 4:HP_NO_MIC 5:BT
#	{name "Voice Call Recording"	value 1}	# 0:CALL_RECORDING_OFF 1:CALL_RECORDING_MAIN 2:CALL_RECORDING_SUB
#	{name "Voip Call Path"	value 1}	# 0:OFF 1:RCV 2:SPK 3:HP 4:HP_NO_MIC 5:BT
#
##################################################################################################################################

##
## Mixer Devices
##

ctl.AndroidPlayback {
type hw
card 0
}

ctl.AndroidRecord {
type hw
card 0
}

##
## Playback Devices
##

pcm.AndroidPlayback {
type hooks
slave.pcm {
type hw
card 0
device 0	# Must be of type "digital audio playback"
}
hooks.0 {
type ctl_elems
hook_args [
# Enable audio output from the DSP
]
}
}

pcm.AndroidPlayback_Earpiece {
type hooks
slave.pcm {
type hw
card 0
device 0	# Must be of type "digital audio playback"
}
hooks.0 {
type ctl_elems
hook_args [
# Enable audio output from the DSP
{name "Voice Call Path"	value 2} # 0:OFF 1:RCV 2:SPK 3:HP 4:HP_NO_MIC 5:BT
]
}
}

pcm.AndroidPlayback_Speaker {
type hooks
slave.pcm {
type hw
card 0
device 0	# Must be of type "digital audio playback"
}
hooks.0 {
type ctl_elems
hook_args [
# Enable audio output from the DSP
{name "Playback Path"	value 2}
# 0:OFF 1:RCV 2:SPK 3:HP 4:HP_NO_MIC 5:BT 6:SPK_HP 7:RING_SPK
# 8:RING_HP 9:RING_HP_NO_MIC 10:RING_SPK_HP 11:EXTRA_DOCK_SPEAKER
# 12:TV_OUT 13:HDMI_TV_OUT 14:HDMI_SPK 15:HDMI_DUAL
]
}
}

pcm.AndroidPlayback_Headset {
type hooks
slave.pcm {
type hw
card 0
device 0	# Must be of type "digital audio playback"
}
hooks.0 {
type ctl_elems
hook_args [
# Enable audio output from the DSP
{name "Playback Path"	value 3}
# 0:OFF 1:RCV 2:SPK 3:HP 4:HP_NO_MIC 5:BT 6:SPK_HP 7:RING_SPK
# 8:RING_HP 9:RING_HP_NO_MIC 10:RING_SPK_HP 11:EXTRA_DOCK_SPEAKER
# 12:TV_OUT 13:HDMI_TV_OUT 14:HDMI_SPK 15:HDMI_DUAL
]
}
}

pcm.AndroidPlayback_Headphone {
type hooks
slave.pcm {
type hw
card 0
device 0	# Must be of type "digital audio playback"
}
hooks.0 {
type ctl_elems
hook_args [
# Enable audio output from the DSP
{name "Playback Path"	value 4}
# 0:OFF 1:RCV 2:SPK 3:HP 4:HP_NO_MIC 5:BT 6:SPK_HP 7:RING_SPK
# 8:RING_HP 9:RING_HP_NO_MIC 10:RING_SPK_HP 11:EXTRA_DOCK_SPEAKER
# 12:TV_OUT 13:HDMI_TV_OUT 14:HDMI_SPK 15:HDMI_DUAL
]
}
}

pcm.AndroidPlayback_Bluetooth {
type hooks
slave.pcm {
type hw
card 0
device 0	# Must be of type "digital audio playback"
}
hooks.0 {
type ctl_elems
hook_args [
# Enable audio output from the DSP
{name "Playback Path"	value 5}
# 0:OFF 1:RCV 2:SPK 3:HP 4:HP_NO_MIC 5:BT 6:SPK_HP 7:RING_SPK
# 8:RING_HP 9:RING_HP_NO_MIC 10:RING_SPK_HP 11:EXTRA_DOCK_SPEAKER
# 12:TV_OUT 13:HDMI_TV_OUT 14:HDMI_SPK 15:HDMI_DUAL
]
}
}

pcm.AndroidPlayback_Earpiece_normal {
type hooks
slave.pcm {
type hw
card 0
device 0	# Must be of type "digital audio playback"
}
hooks.0 {
type ctl_elems
hook_args [
# Enable audio output from the DSP
{name "Playback Path"	value 2}
# 0:OFF 1:RCV 2:SPK 3:HP 4:HP_NO_MIC 5:BT 6:SPK_HP 7:RING_SPK
# 8:RING_HP 9:RING_HP_NO_MIC 10:RING_SPK_HP 11:EXTRA_DOCK_SPEAKER
# 12:TV_OUT 13:HDMI_TV_OUT 14:HDMI_SPK 15:HDMI_DUAL
]
}
}

pcm.AndroidPlayback_Speaker_normal {
type hooks
slave.pcm {
type hw
card 0
device 0	# Must be of type "digital audio playback"
}
hooks.0 {
type ctl_elems
hook_args [
# Enable audio output from the DSP
{name "Playback Path"	value 2}
# 0:OFF 1:RCV 2:SPK 3:HP 4:HP_NO_MIC 5:BT 6:SPK_HP 7:RING_SPK
# 8:RING_HP 9:RING_HP_NO_MIC 10:RING_SPK_HP 11:EXTRA_DOCK_SPEAKER
# 12:TV_OUT 13:HDMI_TV_OUT 14:HDMI_SPK 15:HDMI_DUAL
]
}
}

pcm.AndroidPlayback_Headset_normal {
type hooks
slave.pcm {
type hw
card 0
device 0	# Must be of type "digital audio playback"
}
hooks.0 {
type ctl_elems
hook_args [
# Enable audio output from the DSP
{name "Playback Path"	value 3}
# 0:OFF 1:RCV 2:SPK 3:HP 4:HP_NO_MIC 5:BT 6:SPK_HP 7:RING_SPK
# 8:RING_HP 9:RING_HP_NO_MIC 10:RING_SPK_HP 11:EXTRA_DOCK_SPEAKER
# 12:TV_OUT 13:HDMI_TV_OUT 14:HDMI_SPK 15:HDMI_DUAL
]
}
}

pcm.AndroidPlayback_Headphone_normal {
type hooks
slave.pcm {
type hw
card 0
device 0	# Must be of type "digital audio playback"
}
hooks.0 {
type ctl_elems
hook_args [
# Enable audio output from the DSP
{name "Playback Path"	value 4}
# 0:OFF 1:RCV 2:SPK 3:HP 4:HP_NO_MIC 5:BT 6:SPK_HP 7:RING_SPK
# 8:RING_HP 9:RING_HP_NO_MIC 10:RING_SPK_HP 11:EXTRA_DOCK_SPEAKER
# 12:TV_OUT 13:HDMI_TV_OUT 14:HDMI_SPK 15:HDMI_DUAL
]
}
}

pcm.AndroidPlayback_Bluetooth_normal {
type hooks
slave.pcm {
type hw
card 0
device 0	# Must be of type "digital audio playback"
}
hooks.0 {
type ctl_elems
hook_args [
# Enable audio output from the DSP
{name "Playback Path"	value 5}
# 0:OFF 1:RCV 2:SPK 3:HP 4:HP_NO_MIC 5:BT 6:SPK_HP 7:RING_SPK
# 8:RING_HP 9:RING_HP_NO_MIC 10:RING_SPK_HP 11:EXTRA_DOCK_SPEAKER
# 12:TV_OUT 13:HDMI_TV_OUT 14:HDMI_SPK 15:HDMI_DUAL
]
}
}

pcm.AndroidPlayback_Speaker_Headset_normal {
type hooks
slave.pcm {
type hw
card 0
device 0	# Must be of type "digital audio playback"
}
hooks.0 {
type ctl_elems
hook_args [
# Enable audio output from the DSP
{name "Playback Path"	value 6}
# 0:OFF 1:RCV 2:SPK 3:HP 4:HP_NO_MIC 5:BT 6:SPK_HP 7:RING_SPK
# 8:RING_HP 9:RING_HP_NO_MIC 10:RING_SPK_HP 11:EXTRA_DOCK_SPEAKER
# 12:TV_OUT 13:HDMI_TV_OUT 14:HDMI_SPK 15:HDMI_DUAL
]
}
}

pcm.AndroidPlayback_Speaker_Headphone_normal {
type hooks
slave.pcm {
type hw
card 0
device 0	# Must be of type "digital audio playback"
}
hooks.0 {
type ctl_elems
hook_args [
# Enable audio output from the DSP
{name "Playback Path"	value 6}
# 0:OFF 1:RCV 2:SPK 3:HP 4:HP_NO_MIC 5:BT 6:SPK_HP 7:RING_SPK
# 8:RING_HP 9:RING_HP_NO_MIC 10:RING_SPK_HP 11:EXTRA_DOCK_SPEAKER
# 12:TV_OUT 13:HDMI_TV_OUT 14:HDMI_SPK 15:HDMI_DUAL
]
}
}
pcm.AndroidPlayback_Speaker_LineOut_normal {
type hooks
slave.pcm {
type hw
card 0
device 0	# Must be of type "digital audio playback"
}
hooks.0 {
type ctl_elems
hook_args [
# Enable audio output from the DSP
{name "Playback Path" value 11}
{name "Playback Path" value 2}
# 0:OFF 1:RCV 2:SPK 3:HP 4:HP_NO_MIC 5:BT 6:SPK_HP 7:RING_SPK
# 8:RING_HP 9:RING_HP_NO_MIC 10:RING_SPK_HP 11:EXTRA_DOCK_SPEAKER
# 12:TV_OUT 13:HDMI_TV_OUT 14:HDMI_SPK 15:HDMI_DUAL
]
}
}

pcm.AndroidPlayback_Speaker_LineOut_ringtone {
type hooks
slave.pcm {
type hw
card 0
device 0	# Must be of type "digital audio playback"
}
hooks.0 {
type ctl_elems
hook_args [
# Enable audio output from the DSP
{name "Playback Path" value 11}
{name "Playback Path" value 2}
# 0:OFF 1:RCV 2:SPK 3:HP 4:HP_NO_MIC 5:BT 6:SPK_HP 7:RING_SPK
# 8:RING_HP 9:RING_HP_NO_MIC 10:RING_SPK_HP 11:EXTRA_DOCK_SPEAKER
# 12:TV_OUT 13:HDMI_TV_OUT 14:HDMI_SPK 15:HDMI_DUAL
]
}
}

pcm.AndroidPlayback_LineOut_normal {
type hooks
slave.pcm {
type hw
card 0
device 0	# Must be of type "digital audio playback"
}
hooks.0 {
type ctl_elems
hook_args [
# Enable audio output from the DSP
{name "Playback Path" value 11}
# 0:OFF 1:RCV 2:SPK 3:HP 4:HP_NO_MIC 5:BT 6:SPK_HP 7:RING_SPK
# 8:RING_HP 9:RING_HP_NO_MIC 10:RING_SPK_HP 11:EXTRA_DOCK_SPEAKER
# 12:TV_OUT 13:HDMI_TV_OUT 14:HDMI_SPK 15:HDMI_DUAL
]
}
}

pcm.AndroidPlayback_Hdmi_TVOut_normal {
type hooks
slave.pcm {
type hw
card 0
device 0	# Must be of type "digital audio playback"
}
hooks.0 {
type ctl_elems
hook_args [
# Enable audio output from the DSP
{name "Playback Path"	value 13}
# 0:OFF 1:RCV 2:SPK 3:HP 4:HP_NO_MIC 5:BT 6:SPK_HP 7:RING_SPK
# 8:RING_HP 9:RING_HP_NO_MIC 10:RING_SPK_HP 11:EXTRA_DOCK_SPEAKER
# 12:TV_OUT 13:HDMI_TV_OUT 14:HDMI_SPK 15:HDMI_DUAL
]
}
}

pcm.AndroidPlayback_Speaker_Hdmi_TVOut_normal {
type hooks
slave.pcm {
type hw
card 0
device 0	# Must be of type "digital audio playback"
}
hooks.0 {
type ctl_elems
hook_args [
# Enable audio output from the DSP
{name "Playback Path"	value 14}
# 0:OFF 1:RCV 2:SPK 3:HP 4:HP_NO_MIC 5:BT 6:SPK_HP 7:RING_SPK
# 8:RING_HP 9:RING_HP_NO_MIC 10:RING_SPK_HP 11:EXTRA_DOCK_SPEAKER
# 12:TV_OUT 13:HDMI_TV_OUT 14:HDMI_SPK 15:HDMI_DUAL
]
}
}

pcm.AndroidPlayback_Speaker_Hdmi_TVOut_ringtone {
type hooks
slave.pcm {
type hw
card 0
device 0	# Must be of type "digital audio playback"
}
hooks.0 {
type ctl_elems
hook_args [
# Enable audio output from the DSP
{name "Playback Path"	value 15}
# 0:OFF 1:RCV 2:SPK 3:HP 4:HP_NO_MIC 5:BT 6:SPK_HP 7:RING_SPK
# 8:RING_HP 9:RING_HP_NO_MIC 10:RING_SPK_HP 11:EXTRA_DOCK_SPEAKER
# 12:TV_OUT 13:HDMI_TV_OUT 14:HDMI_SPK 15:HDMI_DUAL
]
}
}

pcm.AndroidPlayback_Earpiece_ringtone {
type hooks
slave.pcm {
type hw
card 0
device 0	# Must be of type "digital audio playback"
}
hooks.0 {
type ctl_elems
hook_args [
# Enable audio output from the DSP
{name "Playback Path"	value 6}
# 0:OFF 1:RCV 2:SPK 3:HP 4:HP_NO_MIC 5:BT 6:SPK_HP 7:RING_SPK
# 8:RING_HP 9:RING_HP_NO_MIC 10:RING_SPK_HP 11:EXTRA_DOCK_SPEAKER
# 12:TV_OUT 13:HDMI_TV_OUT 14:HDMI_SPK 15:HDMI_DUAL
]
}
}

pcm.AndroidPlayback_Speaker_ringtone {
type hooks
slave.pcm {
type hw
card 0
device 0	# Must be of type "digital audio playback"
}
hooks.0 {
type ctl_elems
hook_args [
# Enable audio output from the DSP
{name "Playback Path"	value 10}
# 0:OFF 1:RCV 2:SPK 3:HP 4:HP_NO_MIC 5:BT 6:SPK_HP 7:RING_SPK
# 8:RING_HP 9:RING_HP_NO_MIC 10:RING_SPK_HP 11:EXTRA_DOCK_SPEAKER
# 12:TV_OUT 13:HDMI_TV_OUT 14:HDMI_SPK 15:HDMI_DUAL
]
}
}
/////*****/////THIS
pcm.AndroidPlayback_Headset_ringtone {
type hooks
slave.pcm {
type hw
card 0
device 0	# Must be of type "digital audio playback"
}
hooks.0 {
type ctl_elems
hook_args [
# Enable audio output from the DSP
{name "Playback Path"	value 8}
# 0:OFF 1:RCV 2:SPK 3:HP 4:HP_NO_MIC 5:BT 6:SPK_HP 7:RING_SPK
# 8:RING_HP 9:RING_HP_NO_MIC 10:RING_SPK_HP 11:EXTRA_DOCK_SPEAKER
# 12:TV_OUT 13:HDMI_TV_OUT 14:HDMI_SPK 15:HDMI_DUAL
]
}
}

pcm.AndroidPlayback_Bluetooth_ringtone {
type hooks
slave.pcm {
type hw
card 0
device 0	# Must be of type "digital audio playback"
}
hooks.0 {
type ctl_elems
hook_args [
# Enable audio output from the DSP
{name "Playback Path"	value 5}
# 0:OFF 1:RCV 2:SPK 3:HP 4:HP_NO_MIC 5:BT 6:SPK_HP 7:RING_SPK
# 8:RING_HP 9:RING_HP_NO_MIC 10:RING_SPK_HP 11:EXTRA_DOCK_SPEAKER
# 12:TV_OUT 13:HDMI_TV_OUT 14:HDMI_SPK 15:HDMI_DUAL
]
}
}

pcm.AndroidPlayback_Speaker_Headset_ringtone {
type hooks
slave.pcm {
type hw
card 0
device 0	# Must be of type "digital audio playback"
}
hooks.0 {
type ctl_elems
hook_args [
# Enable audio output from the DSP
{name "Playback Path"	value 10}
# 0:OFF 1:RCV 2:SPK 3:HP 4:HP_NO_MIC 5:BT 6:SPK_HP 7:RING_SPK
# 8:RING_HP 9:RING_HP_NO_MIC 10:RING_SPK_HP 11:EXTRA_DOCK_SPEAKER
# 12:TV_OUT 13:HDMI_TV_OUT 14:HDMI_SPK 15:HDMI_DUAL
]
}
}

pcm.AndroidPlayback_Speaker_Headphone_ringtone {
type hooks
slave.pcm {
type hw
card 0
device 0	# Must be of type "digital audio playback"
}
hooks.0 {
type ctl_elems
hook_args [
# Enable audio output from the DSP
{name "Playback Path"	value 10}
# 0:OFF 1:RCV 2:SPK 3:HP 4:HP_NO_MIC 5:BT 6:SPK_HP 7:RING_SPK
# 8:RING_HP 9:RING_HP_NO_MIC 10:RING_SPK_HP 11:EXTRA_DOCK_SPEAKER
# 12:TV_OUT 13:HDMI_TV_OUT 14:HDMI_SPK 15:HDMI_DUAL
]
}
}

pcm.AndroidPlayback_Earpiece_incall {
type hooks
slave.pcm {
type hw
card 0
device 0	# Must be of type "digital audio playback"
}
hooks.0 {
type ctl_elems
hook_args [
# Enable audio output from the DSP
{name "Voice Call Path"	value 2}	# 0:OFF 1:RCV 2:SPK 3:HP 4:HP_NO_MIC 5:BT
]
}
}

pcm.AndroidPlayback_Speaker_incall {
type hooks
slave.pcm {
type hw
card 0
device 0	# Must be of type "digital audio playback"
}
hooks.0 {
type ctl_elems
hook_args [
# Enable audio output from the DSP
{name "Voice Call Path"	value 2}	# 0:OFF 1:RCV 2:SPK 3:HP 4:HP_NO_MIC 5:BT
]
}
}

pcm.AndroidPlayback_Headset_incall {
type hooks
slave.pcm {
type hw
card 0
device 0	# Must be of type "digital audio playback"
}
hooks.0 {
type ctl_elems
hook_args [
# Enable audio output from the DSP
{name "Voice Call Path"	value 3}	# 0:OFF 1:RCV 2:SPK 3:HP 4:HP_NO_MIC 5:BT
]
}
}

pcm.AndroidPlayback_Headphone_incall {
type hooks
slave.pcm {
type hw
card 0
device 0	# Must be of type "digital audio playback"
}
hooks.0 {
type ctl_elems
hook_args [
# Enable audio output from the DSP
{name "Voice Call Path"	value 4}	# 0:OFF 1:RCV 2:SPK 3:HP 4:HP_NO_MIC 5:BT
]
}
}

pcm.AndroidPlayback_Bluetooth_incall {
type hooks
slave.pcm {
type hw
card 0
device 0	# Must be of type "digital audio playback"
}
hooks.0 {
type ctl_elems
hook_args [
# Enable audio output from the DSP
{name "Voice Call Path"	value 5}	# 0:OFF 1:RCV 2:SPK 3:HP 4:HP_NO_MIC 5:BT
]
}
}

pcm.AndroidPlayback_Speaker_Headset_incall {
type hooks
slave.pcm {
type hw
card 0
device 0	# Must be of type "digital audio playback"
}
hooks.0 {
type ctl_elems
hook_args [
# Enable audio output from the DSP
{name "Voice Call Path"	value 3}	# 0:OFF 1:RCV 2:SPK 3:HP 4:HP_NO_MIC 5:BT
]
}
}

#
# FMRadio
#
pcm.AndroidPlayback_Speaker_fmradio {
type hooks
slave.pcm {
type hw
card 0
device 0	# Must be of type "digital audio playback"
}
hooks.0 {
type ctl_elems
hook_args [
# Enable audio output from the DSP
{name "FM Radio Path"	value 1}	# 0:OFF 1:SPK 2:HP 3:SPK_MIX 4:HP_MIX
]
}
}

pcm.AndroidPlayback_Headset_fmradio {
type hooks
slave.pcm {
type hw
card 0
device 0	# Must be of type "digital audio playback"
}
hooks.0 {
type ctl_elems
hook_args [
# Enable audio output from the DSP
{name "FM Radio Path"	value 2}	# 0:OFF 1:SPK 2:HP 3:SPK_MIX 4:HP_MIX
]
}
}

pcm.AndroidPlayback_Speaker_Headset_fmradio {
type hooks
slave.pcm {
type hw
card 0
device 0	# Must be of type "digital audio playback"
}
hooks.0 {
type ctl_elems
hook_args [
# Enable audio output from the DSP
{name "FM Radio Path"	value 5}	# 0:OFF 1:SPK 2:HP 3:SPK_MIX 4:HP_MIX 5:DUAL MIX
]
}
}
#
# FM Radio + AP Play
#
pcm.AndroidPlayback_Speaker_dualinput {
type hooks
slave.pcm {
type hw
card 0
device 0	# Must be of type "digital audio playback"
}
hooks.0 {
type ctl_elems
hook_args [
# Enable audio output from the DSP
{name "FM Radio Path"	value 3}	# 0:OFF 1:SPK 2:HP 3:SPK_MIX 4:HP_MIX
]
}
}

pcm.AndroidPlayback_Headset_dualinput {
type hooks
slave.pcm {
type hw
card 0
device 0	# Must be of type "digital audio playback"
}
hooks.0 {
type ctl_elems
hook_args [
# Enable audio output from the DSP
{name "FM Radio Path"	value 4}	# 0:OFF 1:SPK 2:HP 3:SPK_MIX 4:HP_MIX
]
}
}

pcm.AndroidPlayback_Speaker_Headset_dualinput {
type hooks
slave.pcm {
type hw
card 0
device 0	# Must be of type "digital audio playback"
}
hooks.0 {
type ctl_elems
hook_args [
# Enable audio output from the DSP
{name "FM Radio Path"	value 5}	# 0:OFF 1:SPK 2:HP 3:SPK_MIX 4:HP_MIX 5:SPK_HP_MIX
]
}
}

#
# Video Call - Output stream
#
pcm.AndroidPlayback_Earpiece_videocall {
type hooks
slave.pcm {
type hw
card 1
device 0	# Must be of type "digital audio playback"
}
hooks.0 {
type ctl_elems
hook_args [
# Enable audio output from the DSP
{name "Voice Call Path"	value 2}	# 0:OFF 1:RCV 2:SPK 3:HP 4:HP_NO_MIC 5:BT
]
}
}

pcm.AndroidPlayback_Speaker_videocall {
type hooks
slave.pcm {
type hw
card 1
device 0	# Must be of type "digital audio playback"
}
hooks.0 {
type ctl_elems
hook_args [
# Enable audio output from the DSP
{name "Voice Call Path"	value 2}	# 0:OFF 1:RCV 2:SPK 3:HP 4:HP_NO_MIC 5:BT
]
}
}

pcm.AndroidPlayback_Headset_videocall {
type hooks
slave.pcm {
type hw
card 1
device 0	# Must be of type "digital audio playback"
}
hooks.0 {
type ctl_elems
hook_args [
# Enable audio output from the DSP
{name "Voice Call Path"	value 3}	# 0:OFF 1:RCV 2:SPK 3:HP 4:HP_NO_MIC 5:BT
]
}
}

pcm.AndroidPlayback_Headphone_videocall {
type hooks
slave.pcm {
type hw
card 1
device 0	# Must be of type "digital audio playback"
}
hooks.0 {
type ctl_elems
hook_args [
# Enable audio output from the DSP
{name "Voice Call Path"	value 4}	# 0:OFF 1:RCV 2:SPK 3:HP 4:HP_NO_MIC 5:BT
]
}
}

pcm.AndroidPlayback_Bluetooth_videocall {
type hooks
slave.pcm {
type hw
card 1
device 0	# Must be of type "digital audio playback"
}
hooks.0 {
type ctl_elems
hook_args [
# Enable audio output from the DSP
{name "Voice Call Path"	value 5}	# 0:OFF 1:RCV 2:SPK 3:HP 4:HP_NO_MIC 5:BT
]
}
}

##
## Capture device
##

pcm.AndroidRecord {
type hooks
slave.pcm {
type hw
card 0
device 0	# Must be of type "digital audio capture"
}
hooks.0 {
type ctl_elems
hook_args [
{name "Capture MIC Path"	value 0}	# 0:Main Mic 1:Ear Mic 2:BT Mic 3:OFF
]
}
}

pcm.AndroidRecord_Microphone {
type hooks
slave.pcm {
type hw
card 0
device 0	# Must be of type "digital audio capture"
}
hooks.0 {
type ctl_elems
hook_args [
{name "Capture MIC Path"	value 0}	# 0:Main Mic 1:Ear Mic 2:BT Mic 3:OFF
]
}
}

pcm.AndroidRecord_Earpiece_normal {
type hooks
slave.pcm {
type hw
card 0
device 0	# Must be of type "digital audio capture"
}
hooks.0 {
type ctl_elems
hook_args [
{name "Capture MIC Path"	value 0}	# 0:Main Mic 1:Ear Mic 2:BT Mic 3:OFF
]
}
}

pcm.AndroidRecord_Speaker_normal {
type hooks
slave.pcm {
type hw
card 0
device 0	# Must be of type "digital audio capture"
}
hooks.0 {
type ctl_elems
hook_args [
{name "Capture MIC Path"	value 0}	# 0:Main Mic 1:Sub MIC
]
}
}

pcm.AndroidRecord_Headset_normal {
type hooks
slave.pcm {
type hw
card 0
device 0	# Must be of type "digital audio capture"
}
hooks.0 {
type ctl_elems
hook_args [
{name "Capture MIC Path"	value 1}	# 0:Main Mic 1:Ear Mic 2:BT Mic 3:OFF
]
}
}

pcm.AndroidRecord_Bluetooth_normal {
type hooks
slave.pcm {
type hw
card 0
device 0	# Must be of type "digital audio capture"
}
hooks.0 {
type ctl_elems
hook_args [
{name "Capture MIC Path"	value 2}	# 0:Main Mic 1:Ear Mic 2:BT Mic 3:OFF
]
}
}

pcm.AndroidRecord_Speaker_Headset_normal {
type hooks
slave.pcm {
type hw
card 0
device 0	# Must be of type "digital audio capture"
}
hooks.0 {
type ctl_elems
hook_args [
{name "Capture MIC Path"	value 0}	# 0:Main Mic 1:Ear Mic 2:BT Mic 3:OFF
]
}
}

pcm.AndroidRecord_Speaker_ringtone {
type hooks
slave.pcm {
type hw
card 0
device 0	# Must be of type "digital audio capture"
}
hooks.0 {
type ctl_elems
hook_args [
{name "Capture MIC Path"	value 0}	# 0:Main Mic 1:Ear Mic 2:BT Mic 3:OFF
]
}
}

pcm.AndroidRecord_Headset_ringtone {
type hooks
slave.pcm {
type hw
card 0
device 0	# Must be of type "digital audio capture"
}
hooks.0 {
type ctl_elems
hook_args [
{name "Capture MIC Path"	value 1}	# 0:Main Mic 1:Ear Mic 2:BT Mic 3:OFF
]
}
}

pcm.AndroidRecord_Headphone_ringtone {
type hooks
slave.pcm {
type hw
card 0
device 0	# Must be of type "digital audio capture"
}
hooks.0 {
type ctl_elems
hook_args [
{name "Capture MIC Path"	value 0}	# 0:Main Mic 1:Ear Mic 2:BT Mic 3:OFF
]
}
}

pcm.AndroidRecord_Speaker_Headset_ringtone {
type hooks
slave.pcm {
type hw
card 0
device 0	# Must be of type "digital audio capture"
}
hooks.0 {
type ctl_elems
hook_args [
{name "Capture MIC Path"	value 0}	# 0:Main Mic 1:Ear Mic 2:BT Mic 3:OFF
]
}
}

pcm.AndroidRecord_Earpiece_incall {
type hooks
slave.pcm {
type hw
card 0
device 0	# Must be of type "digital audio playback"
}
hooks.0 {
type ctl_elems
hook_args [
# Enable audio output from the DSP
{name "Voice Call Recording"	value 1}	# 0:CALL_RECORDING_OFF 1:CALL_RECORDING_MAIN 2:CALL_RECORDING_SUB
]
}
}

pcm.AndroidRecord_Speaker_incall {
type hooks
slave.pcm {
type hw
card 0
device 0	# Must be of type "digital audio playback"
}
hooks.0 {
type ctl_elems
hook_args [
# Enable audio output from the DSP
{name "Voice Call Recording"	value 1}	# 0:CALL_RECORDING_OFF 1:CALL_RECORDING_MAIN 2:CALL_RECORDING_SUB
]
}
}

pcm.AndroidRecord_Headset_incall {
type hooks
slave.pcm {
type hw
card 0
device 0	# Must be of type "digital audio playback"
}
hooks.0 {
type ctl_elems
hook_args [
# Enable audio output from the DSP
{name "Voice Call Recording"	value 2}	# 0:CALL_RECORDING_OFF 1:CALL_RECORDING_MAIN 2:CALL_RECORDING_SUB
]
}
}

pcm.AndroidRecord_Headphone_incall {
type hooks
slave.pcm {
type hw
card 0
device 0	# Must be of type "digital audio playback"
}
hooks.0 {
type ctl_elems
hook_args [
# Enable audio output from the DSP
{name "Voice Call Recording"	value 1}	# 0:CALL_RECORDING_OFF 1:CALL_RECORDING_MAIN 2:CALL_RECORDING_SUB
]
}
}

pcm.AndroidRecord_Bluetooth_incall {
type hooks
slave.pcm {
type hw
card 0
device 0	# Must be of type "digital audio playback"
}
hooks.0 {
type ctl_elems
hook_args [
# Enable audio output from the DSP
{name "Voice Call Recording"	value 0}	# 0:CALL_RECORDING_OFF 1:CALL_RECORDING_MAIN 2:CALL_RECORDING_SUB
]
}
}

pcm.AndroidRecord_Speaker_Headset_incall {
type hooks
slave.pcm {
type hw
card 0
device 0	# Must be of type "digital audio playback"
}
hooks.0 {
type ctl_elems
hook_args [
# Enable audio output from the DSP
{name "Voice Call Recording"	value 0}	# 0:CALL_RECORDING_OFF 1:CALL_RECORDING_MAIN 2:CALL_RECORDING_SUB
]
}
}

#
# Video Call - Input stream
#
pcm.AndroidRecord_Earpiece_videocall {
type hooks
slave.pcm {
type hw
card 1
device 0	# Must be of type "digital audio playback"
}
hooks.0 {
type ctl_elems
hook_args [
# Enable audio output from the DSP
# Already called codec path by Video call outputstream
]
}
}

pcm.AndroidRecord_Speaker_videocall {
type hooks
slave.pcm {
type hw
card 1
device 0	# Must be of type "digital audio playback"
}
hooks.0 {
type ctl_elems
hook_args [
# Enable audio output from the DSP
# Already called codec path by Video call outputstream
]
}
}

pcm.AndroidRecord_Headset_videocall {
type hooks
slave.pcm {
type hw
card 1
device 0	# Must be of type "digital audio playback"
}
hooks.0 {
type ctl_elems
hook_args [
# Enable audio output from the DSP
# Already called codec path by Video call outputstream
]
}
}

pcm.AndroidRecord_Headphone_videocall {
type hooks
slave.pcm {
type hw
card 1
device 0	# Must be of type "digital audio playback"
}
hooks.0 {
type ctl_elems
hook_args [
# Enable audio output from the DSP
# Already called codec path by Video call outputstream
]
}
}

pcm.AndroidRecord_Bluetooth_videocall {
type hooks
slave.pcm {
type hw
card 1
device 0	# Must be of type "digital audio playback"
}
hooks.0 {
type ctl_elems
hook_args [
# Enable audio output from the DSP
# Already called codec path by Video call outputstream
#{name "Voice Call Path"	value 5}	# 0:OFF 1:RCV 2:SPK 3:HP3P 4:HP4P 5:BT
]
}
}

#
# ATV - Input stream (LTN_ATV)
#
pcm.AndroidRecord_Atv_normal {
type hooks
slave.pcm {
type hw
card 2
device 0	# Must be of type "digital audio capture"
}
hooks.0 {
type ctl_elems
hook_args [
]
}
}

## FEATURE_SEC_KOREA_MM_AUDIO
##
## Playback VOIP Call Devices
##

pcm.AndroidPlayback_Earpiece_voip {
type hooks
slave.pcm {
type hw
card 0
device 0	# Must be of type "digital audio playback"
}
hooks.0 {
type ctl_elems
hook_args [
# Enable audio output from the DSP
{name "VoIP Call Path"	value 2}	# 0:OFF 1:RCV 2:SPK 3:HP 4:HP_NO_MIC 5:BT
]
}
}

pcm.AndroidPlayback_Speaker_voip {
type hooks
slave.pcm {
type hw
card 0
device 0	# Must be of type "digital audio playback"
}
hooks.0 {
type ctl_elems
hook_args [
# Enable audio output from the DSP
{name "VoIP Call Path"	value 2}	# 0:OFF 1:RCV 2:SPK 3:HP 4:HP_NO_MIC 5:BT
]
}
}

pcm.AndroidPlayback_Headset_voip {
type hooks
slave.pcm {
type hw
card 0
device 0	# Must be of type "digital audio playback"
}
hooks.0 {
type ctl_elems
hook_args [
# Enable audio output from the DSP
{name "VoIP Call Path"	value 3}	# 0:OFF 1:RCV 2:SPK 3:HP 4:HP_NO_MIC 5:BT
]
}
}

pcm.AndroidPlayback_Headphone_voip {
type hooks
slave.pcm {
type hw
card 0
device 0	# Must be of type "digital audio playback"
}
hooks.0 {
type ctl_elems
hook_args [
# Enable audio output from the DSP
{name "VoIP Call Path"	value 4}	# 0:OFF 1:RCV 2:SPK 3:HP 4:HP_NO_MIC 5:BT
]
}
}

pcm.AndroidPlayback_Bluetooth_voip {
type hooks
slave.pcm {
type hw
card 0
device 0	# Must be of type "digital audio playback"
}
hooks.0 {
type ctl_elems
hook_args [
{name "VoIP Call Path"	value 5}	# 0:OFF 1:RCV 2:SPK 3:HP 4:HP_NO_MIC 5:BT
]
}
}