mirror of
https://github.com/f4exb/sdrangel.git
synced 2024-11-04 16:01:14 -05:00
Removed setting buffer size in AudioOutputDevice. Fixes #1717
This commit is contained in:
parent
e7cb998437
commit
3835a8b7bb
@ -158,7 +158,7 @@ bool AudioOutputDevice::start(int device, int rate)
|
||||
m_audioNetSink = new AudioNetSink(0, m_audioFormat.sampleRate(), false);
|
||||
m_wavFileRecord = new WavFileRecord(m_audioFormat.sampleRate());
|
||||
m_audioOutput->setVolume(m_volume);
|
||||
m_audioOutput->setBufferSize(m_audioFormat.sampleRate() / 5); // min 200ms
|
||||
// m_audioOutput->setBufferSize(m_audioFormat.sampleRate() / 5); FIXME: does not work generally
|
||||
m_recordSilenceNbSamples = (m_recordSilenceTime * m_audioFormat.sampleRate()) / 10; // time in 100'ś ms
|
||||
|
||||
QIODevice::open(QIODevice::ReadOnly);
|
||||
|
Loading…
Reference in New Issue
Block a user