FileSink plugin: return to a 1s sample buffer

pull/27/head
f4exb 2016-12-21 02:25:20 +01:00
rodzic 441c2c1817
commit 1769a145de
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -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;