Fix M17 transcoding

This commit is contained in:
Doug McLain
2026-10-18 11:51:00 -04:00
parent e347df69c0
commit 31317ec39f
+4 -7
View File
@@ -212,13 +212,10 @@ void CController::Codec2toAudio(std::shared_ptr<CTranscoderPacket> packet)
} }
} }
// the only thing left is to encode the two ambe, so push the packet onto both AMBE queues // the only thing left is to encode the two ambe, so push the packet onto both AMBE queues
ambevocoder.encode_2400x1200((int16_t *)packet->GetAudioSamples(), ambe); ambe_queue.push(packet);
packet->SetDStarData(ambe); swambe2_queue.push(packet);
md380_encode_fec(ambe, (int16_t *)packet->GetAudioSamples()); imbe_queue.push(packet);
packet->SetDMRData(ambe); usrp_queue.push(packet);
p25vocoder.encode_4400((int16_t*)packet->GetAudioSamples(), imbe);
packet->SetP25Data(imbe);
packet->SetUSRPData((int16_t*)packet->GetAudioSamples());
} }
void CController::ProcessC2Thread() void CController::ProcessC2Thread()