Fix M17 transcoding
This commit is contained in:
+4
-7
@@ -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()
|
||||||
|
|||||||
Reference in New Issue
Block a user