audio: Rename HANDSET to EARPIECE to follow libsecril-client

Change-Id: I9e99e1bdf8c8c29aca4d753269190dd34c229d8a
tirimbino
Andreas Schneider 8 years ago committed by Christopher N. Hesse
parent 86f7ea8e9f
commit e6286b9208
  1. 6
      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;
}

Loading…
Cancel
Save