Fix M17 -> DMR (using dongle) transcoding

main
Doug McLain 3 years ago
parent 3c4751ad0b
commit 939a893dfb

@ -377,11 +377,10 @@ void CController::Codec2toAudio(std::shared_ptr<CTranscoderPacket> packet)
#ifdef USE_SW_AMBE2
md380_encode_fec(ambe2, packet->GetAudioSamples());
packet->SetDMRData(ambe2);
#else
dmrsf_device->AddPacket(packet);
#endif
packet->SetDMRData(ambe2);
p25vocoder.encode_4400((int16_t*)packet->GetAudioSamples(), imbe);
packet->SetP25Data(imbe);
packet->SetUSRPData((int16_t*)packet->GetAudioSamples());

@ -6,7 +6,7 @@ include configure.mk
# need to update the systemd service script
BINDIR = /usr/local/bin
swambe2 = false
swambe2 = true
GCC = g++

Loading…
Cancel
Save

Powered by TurnKey Linux.