Commit c7b943b4 authored by Simon Morlat's avatar Simon Morlat
Browse files

repair stereo tests

parent 3ebd7b92
mediastreamer2 @ d45bc178
Subproject commit 0add81683f61d85304011b122b3c1ffa61590867 Subproject commit d45bc17870d63bd2a36bda350e82bfdacb97a10d
...@@ -4666,6 +4666,8 @@ static void simple_stereo_call(const char *codec_name, int clock_rate, int bitra ...@@ -4666,6 +4666,8 @@ static void simple_stereo_call(const char *codec_name, int clock_rate, int bitra
char *stereo_file = bc_tester_res("sounds/vrroom.wav"); char *stereo_file = bc_tester_res("sounds/vrroom.wav");
char *recordpath = bc_tester_file("stereo-record.wav"); char *recordpath = bc_tester_file("stereo-record.wav");
bool_t audio_cmp_failed = FALSE; bool_t audio_cmp_failed = FALSE;
unlink(recordpath);
marie = linphone_core_manager_new( "marie_rc"); marie = linphone_core_manager_new( "marie_rc");
pauline = linphone_core_manager_new(transport_supported(LinphoneTransportTls) ? "pauline_rc" : "pauline_tcp_rc"); pauline = linphone_core_manager_new(transport_supported(LinphoneTransportTls) ? "pauline_rc" : "pauline_tcp_rc");
...@@ -4691,8 +4693,8 @@ static void simple_stereo_call(const char *codec_name, int clock_rate, int bitra ...@@ -4691,8 +4693,8 @@ static void simple_stereo_call(const char *codec_name, int clock_rate, int bitra
linphone_core_set_record_file(pauline->lc, recordpath); linphone_core_set_record_file(pauline->lc, recordpath);
/*stereo is supported only without volume control, echo canceller...*/ /*stereo is supported only without volume control, echo canceller...*/
lp_config_set_string(marie->lc->config,"sound","features","NONE"); lp_config_set_string(marie->lc->config,"sound","features","REMOTE_PLAYING");
lp_config_set_string(pauline->lc->config,"sound","features","NONE"); lp_config_set_string(pauline->lc->config,"sound","features","REMOTE_PLAYING");
if (!BC_ASSERT_TRUE(call(pauline,marie))) goto end; if (!BC_ASSERT_TRUE(call(pauline,marie))) goto end;
wait_for_until(marie->lc, pauline->lc, NULL, 0, 6000); wait_for_until(marie->lc, pauline->lc, NULL, 0, 6000);
......
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