Qt: Fix Qt Multimedia audio driver on big endian

This commit is contained in:
Jeffrey Pfau 2016-11-06 21:26:54 -08:00
parent d68a21fc26
commit 60974cf61b
2 changed files with 2 additions and 1 deletions

View File

@ -27,6 +27,7 @@ Bugfixes:
- GBA Memory: Improve initial skipped BIOS state - GBA Memory: Improve initial skipped BIOS state
- Qt: Only reset window dimensions when first shown - Qt: Only reset window dimensions when first shown
- GB Memory: Fix starting HDMAs during mode 0 - GB Memory: Fix starting HDMAs during mode 0
- Qt: Fix Qt Multimedia audio driver on big endian
Misc: Misc:
- SDL: Remove scancode key input - SDL: Remove scancode key input
- GBA Video: Clean up unused timers - GBA Video: Clean up unused timers

View File

@ -50,7 +50,7 @@ bool AudioProcessorQt::start() {
format.setChannelCount(2); format.setChannelCount(2);
format.setSampleSize(16); format.setSampleSize(16);
format.setCodec("audio/pcm"); format.setCodec("audio/pcm");
format.setByteOrder(QAudioFormat::LittleEndian); format.setByteOrder(QAudioFormat::Endian(QSysInfo::ByteOrder));
format.setSampleType(QAudioFormat::SignedInt); format.setSampleType(QAudioFormat::SignedInt);
m_audioOutput = new QAudioOutput(format, this); m_audioOutput = new QAudioOutput(format, this);