Commit 469cf909 authored by Ghislain MARY's avatar Ghislain MARY

Fix wrong condition in audio mixer flow control code.

parent e3744e21
......@@ -98,7 +98,7 @@ static int channel_flow_control(Channel *chan, int threshold, uint64_t time){
return skip;
if (chan->min_fullness==-1 || chan->min_fullness<size) chan->min_fullness=size;
if (chan->min_fullness==-1 || size<chan->min_fullness) chan->min_fullness=size;
if (time-chan->last_flow_control>=5000){
if (chan->min_fullness>=threshold){
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