Qt: Fix Qt Multimedia audio driver on big endian
Jeffrey Pfau jeffrey@endrift.com
Sun, 06 Nov 2016 21:26:54 -0800
2 files changed,
2 insertions(+),
1 deletions(-)
M
CHANGES
→
CHANGES
@@ -27,6 +27,7 @@ - GBA Memory: Fix VCOUNT being writable
- GBA Memory: Improve initial skipped BIOS state - Qt: Only reset window dimensions when first shown - GB Memory: Fix starting HDMAs during mode 0 + - Qt: Fix Qt Multimedia audio driver on big endian Misc: - SDL: Remove scancode key input - GBA Video: Clean up unused timers
M
src/platform/qt/AudioProcessorQt.cpp
→
src/platform/qt/AudioProcessorQt.cpp
@@ -50,7 +50,7 @@ format.setSampleRate(m_sampleRate);
format.setChannelCount(2); format.setSampleSize(16); format.setCodec("audio/pcm"); - format.setByteOrder(QAudioFormat::LittleEndian); + format.setByteOrder(QAudioFormat::Endian(QSysInfo::ByteOrder)); format.setSampleType(QAudioFormat::SignedInt); m_audioOutput = new QAudioOutput(format, this);