insert up to 5 missing packets

pull/14/head
Tom Early 7 years ago
parent b4f5be0633
commit f1e4e98748

@ -1119,7 +1119,7 @@ void CQnetGateway::ProcessG2(const ssize_t g2buflen, const SDSVT &g2buf, const b
int diff = int(0x3FU & g2buf.ctrl) - int(lastctrl);
if (diff < 0)
diff += 21;
if (diff > 1 && diff < 4) { // fill up to 3 missing voice frames
if (diff > 1 && diff < 6) { // fill up to 5 missing voice frames
if (LOG_DEBUG)
fprintf(stderr, "Warning: inserting %d missing voice frame(s)\n", diff - 1);
SDSVT dsvt;

Loading…
Cancel
Save

Powered by TurnKey Linux.