From ae85cb4e9ba54c069045b72b50ca8c18fc26cd06 Mon Sep 17 00:00:00 2001 From: Andrew Belt Date: Tue, 1 Sep 2020 01:39:54 -0400 Subject: [PATCH] Disable RTAUDIO_MINIMIZE_LATENCY in RtAudio driver. --- src/rtaudio.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/rtaudio.cpp b/src/rtaudio.cpp index c7b237cf..3ac3e1ea 100644 --- a/src/rtaudio.cpp +++ b/src/rtaudio.cpp @@ -68,7 +68,7 @@ struct RtAudioDevice : audio::Device { outputParameters.firstChannel = 0; options = RtAudio::StreamOptions(); - options.flags |= RTAUDIO_MINIMIZE_LATENCY; + // options.flags |= RTAUDIO_MINIMIZE_LATENCY; options.flags |= RTAUDIO_SCHEDULE_REALTIME; options.numberOfBuffers = 2; options.streamName = "VCV Rack"; @@ -87,7 +87,7 @@ struct RtAudioDevice : audio::Device { blockSize = 256; } - INFO("Opening audio RtAudio device %d with %d in %d out", deviceId, inputParameters.nChannels, outputParameters.nChannels); + INFO("Opening audio RtAudio device %d with %d in %d out, %d sample rate %d block size", deviceId, inputParameters.nChannels, outputParameters.nChannels, closestSampleRate, blockSize); try { rtAudio->openStream( outputParameters.nChannels > 0 ? &outputParameters : NULL,