mirror of
https://gitlab.linphone.org/BC/public/linphone-iphone.git
synced 2026-01-19 12:08:11 +00:00
Added linphone_call_set_audio_route in linphone API to call audio_stream_set_audio_route in ms2
This commit is contained in:
parent
6ef6e97043
commit
ced2dc9316
3 changed files with 16 additions and 1 deletions
|
|
@ -4137,3 +4137,9 @@ MSWebCam *linphone_call_get_video_device(const LinphoneCall *call) {
|
|||
return call->cam;
|
||||
}
|
||||
#endif
|
||||
|
||||
void linphone_call_set_audio_route(LinphoneCall *call, MSAudioRoute route) {
|
||||
if (call != NULL && call->audiostream != NULL){
|
||||
audio_stream_set_audio_route(call->audiostream, route);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -876,6 +876,15 @@ LINPHONE_PUBLIC void linphone_call_enable_echo_limiter(LinphoneCall *call, bool_
|
|||
**/
|
||||
LINPHONE_PUBLIC bool_t linphone_call_echo_limiter_enabled(const LinphoneCall *call);
|
||||
|
||||
/**
|
||||
* Change the playback output device (currently only used for blackberry)
|
||||
* @param call
|
||||
* @param route the wanted audio route (earpiece, speaker, ...)
|
||||
*
|
||||
* @ingroup call_control
|
||||
**/
|
||||
LINPHONE_PUBLIC void linphone_call_set_audio_route(LinphoneCall *call, MSAudioRoute route);
|
||||
|
||||
/*keep this in sync with mediastreamer2/msvolume.h*/
|
||||
|
||||
/**
|
||||
|
|
|
|||
|
|
@ -1 +1 @@
|
|||
Subproject commit 998cdbcc79e6871b3029961d1d696bc04aedfefb
|
||||
Subproject commit 50e226c6baaba262b68bbe1292397558f2d55407
|
||||
Loading…
Add table
Reference in a new issue