Commit 0a55eafa authored by Simon Morlat's avatar Simon Morlat
Browse files

change ec override

parent b72c1460
......@@ -452,10 +452,8 @@ int audio_stream_start_full(AudioStream *stream, RtpProfile *profile, const char
ms_filter_call_method(stream->soundwrite,MS_FILTER_SET_NCHANNELS, &tmp);
// Override feature
if ((stream->features & AUDIO_STREAM_FEATURE_EC) && !use_ec)
stream->features &=~AUDIO_STREAM_FEATURE_EC;
stream->features |=AUDIO_STREAM_FEATURE_EC;
/*configure the echo canceller if required */
if ((stream->features & AUDIO_STREAM_FEATURE_EC) == 0 && stream->ec != NULL) {
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