kopia lustrzana https://github.com/f4exb/sdrangel
FileSink plugin: return to a 1s sample buffer
rodzic
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;
|
||||
|
|
Ładowanie…
Reference in New Issue