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...