mirror of https://github.com/g4klx/MMDVMHost
Add the Embedded LC to the fill-in audio.
This commit is contained in:
parent
b02535b70d
commit
6090f1f8fd
|
|
@ -1307,11 +1307,10 @@ void CDMRSlot::insertSilence(unsigned int count)
|
||||||
if (n == 0U) {
|
if (n == 0U) {
|
||||||
CSync::addDMRAudioSync(data + 2U);
|
CSync::addDMRAudioSync(data + 2U);
|
||||||
} else {
|
} else {
|
||||||
// Set the Embedded LC to 0x00
|
unsigned char lcss = m_netEmbeddedLC.getData(data + 2U, n);
|
||||||
::memset(data + 2U + 13U, 0x00U, 5U);
|
|
||||||
|
|
||||||
// Color Code will have been set earlier
|
m_lastEMB.setColorCode(m_colorCode);
|
||||||
m_lastEMB.setLCSS(0U);
|
m_lastEMB.setLCSS(lcss);
|
||||||
m_lastEMB.getData(data + 2U);
|
m_lastEMB.getData(data + 2U);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue