mirror of
https://github.com/f4exb/sdrangel.git
synced 2026-06-04 23:14:47 -04:00
Implement own FIFO in BasebandSampleSource. SampleSourceFIFO: remove useless chunk size completely and set initial fill to only half the FIFO size
This commit is contained in:
@@ -86,7 +86,7 @@ void FileSinkThread::setSamplerate(int samplerate)
|
||||
|
||||
// resize sample FIFO
|
||||
if (m_sampleFifo) {
|
||||
m_sampleFifo->resize(samplerate, samplerate/4); // 1s buffer with 250ms write chunk size
|
||||
m_sampleFifo->resize(samplerate); // 1s buffer
|
||||
}
|
||||
|
||||
m_samplerate = samplerate;
|
||||
|
||||
Reference in New Issue
Block a user