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:
parent
441c2c1817
commit
1769a145de
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user