Commit cab38427 authored by QuentinArguillere's avatar QuentinArguillere
Browse files

Mark function linphone_core_audio_route_changed as deprecated, and instead do...

Mark function linphone_core_audio_route_changed as deprecated, and instead do its job inside reloadDeviceOnRouteChangeCallback
parent 27ac64bb
......@@ -147,11 +147,12 @@ LINPHONE_PUBLIC void linphone_core_activate_audio_session(LinphoneCore* core, bo
LINPHONE_PUBLIC void linphone_core_enable_callkit (LinphoneCore* core, bool_t enabled);
/**
* Deprecated : now handled in the linphone SDK directly
* Special function to indicate if the audio route is changed. Must be called in the callback of AVAudioSessionRouteChangeNotification.
* @param core The #LinphoneCore object. @notnil
* @ingroup IOS
*/
LINPHONE_PUBLIC void linphone_core_audio_route_changed (LinphoneCore *core);
LINPHONE_DEPRECATED LINPHONE_PUBLIC void linphone_core_audio_route_changed (LinphoneCore *core);
/**
* Special function to check if the callkit is enabled, False by default.
......
......@@ -155,6 +155,9 @@
}
deviceIt = deviceIt->next;
}
// Notify the filter that the audio route changed
pcore->soundcardAudioRouteChanged();
});
}
......
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