summaryrefslogtreecommitdiffstats
path: root/hal/msm8974/platform.h
diff options
context:
space:
mode:
authorEric Laurent <elaurent@google.com>2015-01-07 18:38:28 -0800
committerEric Laurent <elaurent@google.com>2015-01-07 18:38:28 -0800
commit1c7637efea6eb40a796031685381816711231e80 (patch)
treee648ff5333e47f0656dc3da265492b899445fdf5 /hal/msm8974/platform.h
parentcc4f6bfbf96f1df97a3ed0882446e5157810a7df (diff)
downloadhardware_qcom_audio-1c7637efea6eb40a796031685381816711231e80.tar.gz
hardware_qcom_audio-1c7637efea6eb40a796031685381816711231e80.tar.bz2
hardware_qcom_audio-1c7637efea6eb40a796031685381816711231e80.zip
add line out to device sharing codec backend
AUDIO_DEVICE_OUT_LINE was not listed in AUDIO_DEVICE_OUT_ALL_CODEC_BACKEND causing a loss of audio when music was playing over line out and a ringtone playing over lineout and speaker was stoppped. Bug: 18903885. Change-Id: I8c132db9cbfb17842a463600a2d0ced214244b72
Diffstat (limited to 'hal/msm8974/platform.h')
-rw-r--r--hal/msm8974/platform.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/hal/msm8974/platform.h b/hal/msm8974/platform.h
index 4dc83bb6..4d12a900 100644
--- a/hal/msm8974/platform.h
+++ b/hal/msm8974/platform.h
@@ -25,7 +25,8 @@
#define AUDIO_DEVICE_OUT_ALL_CODEC_BACKEND \
(AUDIO_DEVICE_OUT_EARPIECE | AUDIO_DEVICE_OUT_SPEAKER | \
AUDIO_DEVICE_OUT_SPEAKER_SAFE | \
- AUDIO_DEVICE_OUT_WIRED_HEADSET | AUDIO_DEVICE_OUT_WIRED_HEADPHONE)
+ AUDIO_DEVICE_OUT_WIRED_HEADSET | AUDIO_DEVICE_OUT_WIRED_HEADPHONE | \
+ AUDIO_DEVICE_OUT_LINE)
/* Sound devices specific to the platform
* The DEVICE_OUT_* and DEVICE_IN_* should be mapped to these sound