mirror of
https://github.com/f4exb/sdrangel.git
synced 2025-02-03 09:44:01 -05:00
Remote input: R/W balance: increased correction limit to the equivalent of +/- 10ms per read (~20%)
This commit is contained in:
parent
d0779be1d2
commit
2a8ee97c01
@ -318,7 +318,7 @@ void RemoteInputBuffer::writeData(char *array)
|
||||
if (sampleRate != 0)
|
||||
{
|
||||
m_bufferLenSec = (float) m_framesNbBytes / (float) (sampleRate * metaData->m_sampleBytes * 2);
|
||||
m_balCorrLimit = sampleRate / 1000; // +/- 1 ms correction max per read
|
||||
m_balCorrLimit = sampleRate / 100; // +/- 10 ms correction max per read
|
||||
m_readNbBytes = (sampleRate * metaData->m_sampleBytes * 2) / 20;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user