From 6950e5376750a20d5635c28d10fdf813a585e292 Mon Sep 17 00:00:00 2001 From: Jehan Monnier Date: Fri, 17 Jul 2015 10:55:11 +0200 Subject: [PATCH] fix compilation issue --- tester/tester.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tester/tester.c b/tester/tester.c index 97cf05b9f..a9c406487 100644 --- a/tester/tester.c +++ b/tester/tester.c @@ -240,6 +240,7 @@ bool_t transport_supported(LinphoneTransportType transport) { LinphoneCoreManager* linphone_core_manager_init(const char* rc_file) { LinphoneCoreManager* mgr= ms_new0(LinphoneCoreManager,1); char *rc_path = NULL; + char *hellopath = bc_tester_res("sounds/hello8000.wav"); mgr->number_of_cunit_error_at_creation = CU_get_number_of_failures(); mgr->v_table.registration_state_changed=registration_state_changed; mgr->v_table.auth_info_requested=auth_info_requested; @@ -288,7 +289,7 @@ LinphoneCoreManager* linphone_core_manager_init(const char* rc_file) { } #endif - char *hellopath = bc_tester_res("sounds/hello8000.wav"); + linphone_core_set_play_file(mgr->lc,hellopath); /*is also used when in pause*/ ms_free(hellopath);