diff options
author | Fevax <fer.vonarx@gmail.com> | 2017-02-08 09:52:12 +0100 |
---|---|---|
committer | Christopher N. Hesse <raymanfx@gmail.com> | 2017-02-08 10:19:23 +0000 |
commit | 86ac23487ec442e44f5f501dee42aea1401b50b5 (patch) | |
tree | aa87d18723bdc4219b483cd80d3c97254e44fd88 | |
parent | 6e35157bd6dbcdf3e50ecc7fc05eccca485635dc (diff) | |
download | android_hardware_samsung-86ac23487ec442e44f5f501dee42aea1401b50b5.tar.gz android_hardware_samsung-86ac23487ec442e44f5f501dee42aea1401b50b5.tar.bz2 android_hardware_samsung-86ac23487ec442e44f5f501dee42aea1401b50b5.zip |
audio: Allow playback on earpiece too
For VoIP we need to have output on the earpiece.
Change-Id: I5c5488a184b3efe4f95a2d0602ad286b1eba7780
-rw-r--r-- | audio/audio_hw.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/audio/audio_hw.c b/audio/audio_hw.c index 149ef1c..cfe3013 100644 --- a/audio/audio_hw.c +++ b/audio/audio_hw.c @@ -69,7 +69,7 @@ static struct pcm_device_profile pcm_device_playback = { .id = SOUND_PLAYBACK_DEVICE, .type = PCM_PLAYBACK, .devices = AUDIO_DEVICE_OUT_WIRED_HEADSET|AUDIO_DEVICE_OUT_WIRED_HEADPHONE| - AUDIO_DEVICE_OUT_SPEAKER, + AUDIO_DEVICE_OUT_SPEAKER|AUDIO_DEVICE_OUT_EARPIECE, }; static struct pcm_device_profile pcm_device_deep_buffer = { @@ -87,7 +87,7 @@ static struct pcm_device_profile pcm_device_deep_buffer = { .id = SOUND_DEEP_BUFFER_DEVICE, .type = PCM_PLAYBACK, .devices = AUDIO_DEVICE_OUT_WIRED_HEADSET|AUDIO_DEVICE_OUT_WIRED_HEADPHONE| - AUDIO_DEVICE_OUT_SPEAKER, + AUDIO_DEVICE_OUT_SPEAKER|AUDIO_DEVICE_OUT_EARPIECE, }; static struct pcm_device_profile pcm_device_capture = { |