mirror of
https://github.com/g4klx/MMDVMHost.git
synced 2026-04-05 14:35:31 +00:00
Make silence infillinf a little looser.
This commit is contained in:
parent
9e83d23c48
commit
49b002a463
3 changed files with 6 additions and 6 deletions
|
|
@ -546,8 +546,8 @@ void CYSFControl::clock(unsigned int ms)
|
|||
|
||||
if (frames > m_netFrames) {
|
||||
unsigned int count = frames - m_netFrames;
|
||||
if (count > 2U) {
|
||||
LogDebug("YSF, lost audio for over 200ms filling in, elapsed: %ums, expected: %u, received: %u", elapsed, frames, m_netFrames);
|
||||
if (count > (300U / YSF_FRAME_TIME)) {
|
||||
LogDebug("YSF, lost audio for over 300ms filling in, elapsed: %ums, expected: %u, received: %u", elapsed, frames, m_netFrames);
|
||||
insertSilence(count - 1U);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue