1
0
mirror of https://github.com/f4exb/sdrangel.git synced 2024-12-23 01:55:48 -05:00

FileSink plugin: return to a 1s sample buffer

This commit is contained in:
f4exb 2016-12-21 02:25:20 +01:00
parent 441c2c1817
commit 1769a145de

View File

@ -86,7 +86,7 @@ void FileSinkThread::setSamplerate(int samplerate)
// resize sample FIFO
if (m_sampleFifo) {
m_sampleFifo->resize(2*samplerate, samplerate/2); // 2s buffer with 500ms write chunk size
m_sampleFifo->resize(samplerate, samplerate/4); // 1s buffer with 250ms write chunk size
}
m_samplerate = samplerate;