fix(dmr): recover handheld voice sync

This commit is contained in:
2026-07-14 19:17:55 +03:00
parent 39b4627c2b
commit 300bc91a46
4 changed files with 60 additions and 7 deletions
+4
View File
@@ -859,6 +859,10 @@ begin
// DMR front-end owns a worker thread. It stays idle until MODE_DMR is active.
FDMRDiag := TDMRDiagnosticCapture.Create;
FDMRDec := TDMRDecoder.Create;
// WDSP's FM discriminator polarity on the EWSDR RX path is opposite to the
// DMR dibit convention: captured handheld MS voice sync appears as MS data
// without this inversion (the two sync words are complements).
FDMRDec.SetInverted(True);
FDMRDec.OnAudio := OnDMRAudioReady;
FDMRDec.OnBurst := OnDMRBurstReady;