Commit d6b60a17 authored by Guillaume BIENKOWSKI's avatar Guillaume BIENKOWSKI
Browse files

Set equalizer rate, otherwise it amplifies the wrong frequencies

parent 15acb80b
......@@ -599,6 +599,7 @@ int audio_stream_start_full(AudioStream *stream, RtpProfile *profile, const char
if(stream->equalizer) {
tmp=stream->eq_active;
ms_filter_call_method(stream->equalizer,MS_EQUALIZER_SET_ACTIVE,&tmp);
ms_filter_call_method(stream->equalizer,MS_FILTER_SET_SAMPLE_RATE, &sample_rate);
}
}else
stream->equalizer=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