|
|
|
|
@ -413,6 +413,11 @@ void CDV3003::FeedDevice()
|
|
|
|
|
voc_mux[current_vocoder].unlock();
|
|
|
|
|
|
|
|
|
|
if (needs_audio)
|
|
|
|
|
{
|
|
|
|
|
SendData(current_vocoder, (Encoding::dstar==type) ? packet->GetDStarData() : packet->GetDMRData());
|
|
|
|
|
ch_depth++;
|
|
|
|
|
}
|
|
|
|
|
else
|
|
|
|
|
{
|
|
|
|
|
SendAudio(current_vocoder, packet->GetAudio());
|
|
|
|
|
sp_depth++;
|
|
|
|
|
@ -420,11 +425,6 @@ void CDV3003::FeedDevice()
|
|
|
|
|
std::cout << "Sent audio to " << devicepath << std::endl;
|
|
|
|
|
#endif
|
|
|
|
|
}
|
|
|
|
|
else
|
|
|
|
|
{
|
|
|
|
|
SendData(current_vocoder, (Encoding::dstar==type) ? packet->GetDStarData() : packet->GetDMRData());
|
|
|
|
|
ch_depth++;
|
|
|
|
|
}
|
|
|
|
|
if(++current_vocoder > 2)
|
|
|
|
|
current_vocoder = 0;
|
|
|
|
|
}
|
|
|
|
|
|