all repos — mgba @ 60974cf61b0da1056f19d1b2b2127017736186d8

mGBA Game Boy Advance Emulator

Qt: Fix Qt Multimedia audio driver on big endian
Jeffrey Pfau jeffrey@endrift.com
Sun, 06 Nov 2016 21:26:54 -0800
commit

60974cf61b0da1056f19d1b2b2127017736186d8

parent

d68a21fc26d23e87931eac01e9e8a74c964fe51c

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

jump to
M CHANGESCHANGES

@@ -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.cppsrc/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);