mirror of https://github.com/mgba-emu/mgba.git
Qt: Fix Qt Multimedia audio driver on big endian
This commit is contained in:
parent
d68a21fc26
commit
60974cf61b
1
CHANGES
1
CHANGES
|
@ -27,6 +27,7 @@ Bugfixes:
|
|||
- 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
|
||||
|
|
|
@ -50,7 +50,7 @@ bool AudioProcessorQt::start() {
|
|||
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);
|
||||
|
|
Loading…
Reference in New Issue