From 6214cc9835d7cff2400e0d3d556cbdf7582194e5 Mon Sep 17 00:00:00 2001 From: Bill Somerville Date: Tue, 1 Dec 2020 20:55:10 +0000 Subject: [PATCH] Use same user defined audio out buffer sizes on all platforms --- Audio/soundout.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Audio/soundout.cpp b/Audio/soundout.cpp index fe7c58fbf..bd71d8560 100644 --- a/Audio/soundout.cpp +++ b/Audio/soundout.cpp @@ -106,9 +106,9 @@ void SoundOutput::restart (QIODevice * source) //qDebug () << "SoundOut default buffer size (bytes):" << m_stream->bufferSize () << "period size:" << m_stream->periodSize (); if (m_framesBuffered) { -#if defined (Q_OS_WIN) + //#if defined (Q_OS_WIN) m_stream->setBufferSize (m_stream->format().bytesForFrames (m_framesBuffered)); -#endif + //#endif } m_stream->setCategory ("production"); m_stream->start (source);