mirror of
https://github.com/team-infusion-developers/android_hardware_samsung.git
synced 2024-11-01 07:47:55 +00:00
audio: Allow playback on earpiece too
For VoIP we need to have output on the earpiece. Change-Id: I5c5488a184b3efe4f95a2d0602ad286b1eba7780
This commit is contained in:
parent
6e35157bd6
commit
86ac23487e
1 changed files with 2 additions and 2 deletions
|
@ -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 = {
|
||||
|
|
Loading…
Reference in a new issue