From 205ed34468d4afb30897d16bbe21b0e72333cfb8 Mon Sep 17 00:00:00 2001 From: "michal.szwaj" Date: Sat, 24 Mar 2018 03:33:32 +0100 Subject: [PATCH] Decrease audio buffer size --- src/autoapp/Projection/RtAudioOutput.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/autoapp/Projection/RtAudioOutput.cpp b/src/autoapp/Projection/RtAudioOutput.cpp index d84428b..ca94bfc 100644 --- a/src/autoapp/Projection/RtAudioOutput.cpp +++ b/src/autoapp/Projection/RtAudioOutput.cpp @@ -58,7 +58,7 @@ bool RtAudioOutput::open() try { - uint32_t bufferFrames = 1024; + uint32_t bufferFrames = 128; dac_->openStream(¶meters, nullptr, RTAUDIO_SINT16, sampleRate_, &bufferFrames, &RtAudioOutput::audioBufferReadHandler, static_cast(this)); return audioBuffer_.open(QIODevice::ReadWrite);