|
|
|
@ -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; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|