The following table lists supported routing paths for each audio type. The audio types are listed in descending order of their routing priority.
Audio type | Output device routing |
---|---|
AUDIO_TYPE_SOUND_EFFECT |
AUDIO_DEVICE_SPEAKER |
AUDIO_TYPE_RINGTONE |
AUDIO_DEVICE_SPEAKER |
AUDIO_TYPE_VOICE |
AUDIO_DEVICE_TTY AUDIO_DEVICE_HEADSET AUIDO_DEVICE_HEADPHONE AUDIO_DEVICE_LINEOUT AUDIO_DEVICE_BT_SCO AUDIO_DEVICE_HAC AUDIO_DEVICE_HANDSET AUDIO_DEVICE_SPEAKER |
AUDIO_TYPE_VIDEO_CHAT |
AUDIO_DEVICE_HEADSET AUDIO_DEVICE_HEADPHONE AUDIO_DEVICE_LINEOUT AUDIO_DEVICE_BT_SCO AUDIO_DEVICE_HDMI AUDIO_DEVICE_TOSLINK AUDIO_DEVICE_SPEAKER AUDIO_DEVICE_HANDSET |
AUDIO_TYPE_PUSH_TO_TALK |
AUDIO_DEVICE_HEADSET AUDIO_DEVICE_HEADPHONE AUDIO_DEVICE_LINEOUT AUDIO_DEVICE_BT_SCO AUDIO_DEVICE_SPEAKER AUDIO_DEVICE_HANDSET |
AUDIO_TYPE_VOICE_RECOGNITION |
AUDIO_DEVICE_HEADSET AUDIO_DEVICE_BT_SCO AUDIO_DEVICE_HEADPHONE AUDIO_DEVICE_LINEOUT AUDIO_DEVICE_SPEAKER |
AUDIO_TYPE_TEXT_TO_SPEECH |
AUDIO_DEVICE_HEADSET AUDIO_DEVICE_HEADPHONE AUDIO_DEVICE_LINEOUT AUDIO_DEVICE_A2DP AUDIO_DEVICE_HDMI AUDIO_DEVICE_TOSLINK AUDIO_DEVICE_SPEAKER AUDIO_DEVICE_HANDSET |
AUDIO_TYPE_VOICE_RECORDING |
AUDIO_DEVICE_HEADSET AUDIO_DEVICE_BT_SCO AUDIO_DEVICE_HANDSET AUDIO_DEVICE_HEADPHONE AUDIO_DEVICE_SPEAKER |
AUDIO_TYPE_MULTIMEDIA AUDIO_TYPE_DEFAULT |
AUDIO_DEVICE_HEADSET AUDIO_DEVICE_HEADPHONE AUDIO_DEVICE_LINEOUT AUDIO_DEVICE_A2DP AUDIO_DEVICE_HDMI AUDIO_DEVICE_TOSLINK AUDIO_DEVICE_SPEAKER AUDIO_DEVICE_HANDSET |
AUDIO_TYPE_VOICE_TONES |
AUDIO_DEVICE_HEADSET AUIDO_DEVICE_HEADPHONE AUDIO_DEVICE_LINEOUT AUDIO_DEVICE_SPEAKER AUDIO_DEVICE_HANDSET |
AUDIO_TYPE_ALERT |
AUDIO_DEVICE_SPEAKER AUDIO_DEVICE_HEADSET AUDIO_DEVICE_HEADPHONE AUDIO_DEVICE_LINEOUT AUDIO_DEVICE_A2DP AUDIO_DEVICE_HANDSET |