1
0
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:
f4exb
2016-12-23 14:29:42 +01:00
parent ce77f95a2c
commit e05822ba02
6 changed files with 10 additions and 7 deletions
@@ -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;