Merge "hal: add support to route to line-out device"

This commit is contained in:
Linux Build Service Account 2017-10-25 20:10:28 -07:00 committed by Gerrit - the friendly Code Review server
commit 3cf48e7c32
1 changed files with 2 additions and 0 deletions

View File

@ -3989,6 +3989,8 @@ snd_device_t platform_get_output_snd_device(void *platform, struct stream_out *o
snd_device = SND_DEVICE_OUT_HEADPHONES_44_1;
} else if (out->format == AUDIO_FORMAT_DSD) {
snd_device = SND_DEVICE_OUT_HEADPHONES_DSD;
} else if (devices & AUDIO_DEVICE_OUT_LINE) {
snd_device = SND_DEVICE_OUT_LINE;
} else {
#ifdef RECORD_PLAY_CONCURRENCY
if (use_voip_out_devices)