From 54a30af1aad4f5d48563883e9286db0377e59ca3 Mon Sep 17 00:00:00 2001 From: Jeffrey Pfau Date: Tue, 10 Mar 2015 00:33:04 -0700 Subject: [PATCH] Qt: Fix PulseAudio output with small buffer size --- src/platform/qt/AudioProcessorQt.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/platform/qt/AudioProcessorQt.cpp b/src/platform/qt/AudioProcessorQt.cpp index c32b83ce4..eb8f1ff14 100644 --- a/src/platform/qt/AudioProcessorQt.cpp +++ b/src/platform/qt/AudioProcessorQt.cpp @@ -47,6 +47,7 @@ void AudioProcessorQt::start() { format.setSampleType(QAudioFormat::SignedInt); m_audioOutput = new QAudioOutput(format, this); + m_audioOutput->setCategory("game"); } m_device->setInput(input());