From 9269fefa56d71b8554e9baeef8c2252dacc1fe30 Mon Sep 17 00:00:00 2001 From: Doug McLain Date: Mon, 28 Mar 2022 12:03:55 -0400 Subject: [PATCH] Encode gain adjusted pcm --- Controller.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Controller.cpp b/Controller.cpp index 1f4d316..a4e31eb 100644 --- a/Controller.cpp +++ b/Controller.cpp @@ -397,7 +397,7 @@ void CController::AudiotoSWAMBE2(std::shared_ptr packet) } } - md380_encode_fec(ambe2, packet->GetAudioSamples()); + md380_encode_fec(ambe2, tmp); packet->SetDMRData(ambe2); // we might be all done...