From 500f5a4851ddcf652fb5cafcfe220f3bad244caf Mon Sep 17 00:00:00 2001 From: Tom Early Date: Fri, 8 Feb 2019 09:44:03 -0700 Subject: [PATCH] Looks like the first voice frame is not a sync frame! --- QnetModem.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/QnetModem.cpp b/QnetModem.cpp index 292d795..c1930c8 100644 --- a/QnetModem.cpp +++ b/QnetModem.cpp @@ -652,7 +652,7 @@ bool CQnetModem::ProcessModem(const SMODEM &frame) dstr.vpkt.streamid = htons(stream_id); if (frame.type == TYPE_HEADER) { // header - ctrl = 0U; + ctrl = 1U; dstr.remaining = 0x30; dstr.vpkt.ctrl = 0x80;