From 1f2de5d7f47a313fe91c72fbee2b0885a547a510 Mon Sep 17 00:00:00 2001 From: Andrew Belt Date: Mon, 22 Nov 2021 02:47:34 -0500 Subject: [PATCH] Change default rtaudio block size to 512. --- src/rtaudio.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/rtaudio.cpp b/src/rtaudio.cpp index bcb08971..fe6cf7f1 100644 --- a/src/rtaudio.cpp +++ b/src/rtaudio.cpp @@ -116,7 +116,7 @@ struct RtAudioDevice : audio::Device { } if (blockSize <= 0) { - blockSize = 256; + blockSize = 512; } INFO("Opening RtAudio %s device %d: %s (%d in, %d out, %g sample rate, %d block size)", RTAUDIO_API_NAMES.at(api).c_str(), deviceId, deviceInfo.name.c_str(), inputParameters.nChannels, outputParameters.nChannels, closestSampleRate, blockSize);