From e6286b92087eb1437b689a0f57f6472411da6593 Mon Sep 17 00:00:00 2001 From: Andreas Schneider Date: Tue, 14 Feb 2017 17:24:23 +0100 Subject: [PATCH] audio: Rename HANDSET to EARPIECE to follow libsecril-client Change-Id: I9e99e1bdf8c8c29aca4d753269190dd34c229d8a --- audio/voice.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/audio/voice.c b/audio/voice.c index 1965379..8d73fd1 100644 --- a/audio/voice.c +++ b/audio/voice.c @@ -72,7 +72,7 @@ void set_voice_session_audio_path(struct voice_session *session) device_type = SOUND_AUDIO_PATH_SPEAKER; break; case AUDIO_DEVICE_OUT_EARPIECE: - device_type = SOUND_AUDIO_PATH_HANDSET; + device_type = SOUND_AUDIO_PATH_EARPIECE; break; case AUDIO_DEVICE_OUT_WIRED_HEADSET: device_type = SOUND_AUDIO_PATH_HEADSET; @@ -86,8 +86,8 @@ void set_voice_session_audio_path(struct voice_session *session) device_type = SOUND_AUDIO_PATH_BLUETOOTH; break; default: - /* if output device isn't supported, use handset by default */ - device_type = SOUND_AUDIO_PATH_HANDSET; + /* if output device isn't supported, use earpiece by default */ + device_type = SOUND_AUDIO_PATH_EARPIECE; break; } -- 2.20.1