Reset nb_no_activity_frames when analysis DTX isn't used

parent 57092f9d
......@@ -2150,6 +2150,8 @@ opus_int32 opus_encode_native(OpusEncoder *st, const opus_val16 *pcm, int frame_
RESTORE_STACK;
return 1;
}
} else {
st->nb_no_activity_frames = 0;
}
#endif
......
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