decrease audio buffer size to sane level
Improves audio on certain platforms
This commit is contained in:
@@ -136,7 +136,7 @@ void AudioOutputManager::SetOutputDevice(QAudioDeviceInfo info, QAudioFormat for
|
||||
|
||||
// Create a new output device and start it in push mode
|
||||
output_ = new QAudioOutput(info, format, this);
|
||||
output_->setBufferSize(131072);
|
||||
output_->setBufferSize(16384);
|
||||
output_->setNotifyInterval(1);
|
||||
push_device_ = output_->start();
|
||||
connect(output_, &QAudioOutput::notify, this, &AudioOutputManager::PushMoreSamples);
|
||||
|
||||
Reference in New Issue
Block a user