all repos — mgba @ 54a30af1aad4f5d48563883e9286db0377e59ca3

mGBA Game Boy Advance Emulator

Qt: Fix PulseAudio output with small buffer size
Jeffrey Pfau jeffrey@endrift.com
Tue, 10 Mar 2015 00:33:04 -0700
commit

54a30af1aad4f5d48563883e9286db0377e59ca3

parent

3b0a42921cd648c5999e2c6e634b434d09d1705d

1 files changed, 1 insertions(+), 0 deletions(-)

jump to
M src/platform/qt/AudioProcessorQt.cppsrc/platform/qt/AudioProcessorQt.cpp

@@ -47,6 +47,7 @@ format.setByteOrder(QAudioFormat::LittleEndian);

format.setSampleType(QAudioFormat::SignedInt); m_audioOutput = new QAudioOutput(format, this); + m_audioOutput->setCategory("game"); } m_device->setInput(input());