Commit e41633fa authored by QuentinArguillere's avatar QuentinArguillere
Browse files

fix pasting error with the sound device

parent 3255e60d
......@@ -132,7 +132,7 @@
const LinphoneAudioDevice * inputDevice = linphone_core_get_input_audio_device(pcore->getCCore());
const LinphoneAudioDevice * outputDevice = linphone_core_get_output_audio_device(pcore->getCCore());
std::string currentInputDeviceInCore( (inputDevice == NULL) ? "" : linphone_audio_device_get_device_name(inputDevice) );
std::string currentOutputDeviceInCore( (outputDevice == NULL) ? "" : linphone_audio_device_get_device_name(inputDevice) );
std::string currentOutputDeviceInCore( (outputDevice == NULL) ? "" : linphone_audio_device_get_device_name(outputDevice) );
// Make sure that the current device the core is using match the reality of the IOS audio route. If not, set it properly
if (deviceMatchCurrentInput(currentInputDeviceInCore) && deviceMatchCurrentOutput(currentOutputDeviceInCore) )
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment