mirror of
https://github.com/g4klx/DMRGateway
synced 2025-12-22 06:05:36 +08:00
Abort the voice prompt if network traffic appears on the same slot.
This commit is contained in:
@@ -171,4 +171,10 @@ void CRewriteDynTGRF::tgChange(unsigned int slot, unsigned int tg)
|
||||
}
|
||||
return;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
void CRewriteDynTGRF::stopVoice(unsigned int slot)
|
||||
{
|
||||
if (slot == m_slot && m_voice != NULL)
|
||||
m_voice->abort();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user