Commit 2d9de5a1 authored by Guillaume BIENKOWSKI's avatar Guillaume BIENKOWSKI

Handle NULL ringback tones + setup iOS tester correctly for AudioQueue and no ringback tone

parent 85641826
This diff is collapsed.
......@@ -4175,7 +4175,7 @@ void linphone_core_set_ringback(LinphoneCore *lc, const char *path){
if (lc->sound_conf.remote_ring!=0){
ms_free(lc->sound_conf.remote_ring);
}
lc->sound_conf.remote_ring=ms_strdup(path);
lc->sound_conf.remote_ring=path?ms_strdup(path):path;
}
/**
......
/*
/*
tester - liblinphone test suite
Copyright (C) 2013 Belledonne Communications SARL
......@@ -229,7 +229,8 @@ LinphoneCoreManager* linphone_core_manager_new2(const char* rc_file, int check_f
#if TARGET_OS_IPHONE
linphone_core_set_playback_device( mgr->lc, "AU: Audio Unit Tester");
linphone_core_set_capture_device( mgr->lc, "AU: Audio Unit Tester");
linphone_core_set_ringer_device( mgr->lc, "AU: Audio Unit Tester");
linphone_core_set_ringer_device( mgr->lc, "AQ: Audio Queue Device");
linphone_core_set_ringback(mgr->lc, NULL);
#endif
if (proxy_count)
......
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