From c19d7cab1ec27d5f3faaefda3f7098120785449d Mon Sep 17 00:00:00 2001 From: Miku AuahDark Date: Mon, 2 May 2022 07:40:48 +0800 Subject: [PATCH] Reorder sound decoder factory preference. --- src/modules/sound/lullaby/Sound.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/modules/sound/lullaby/Sound.cpp b/src/modules/sound/lullaby/Sound.cpp index 63fe642d6..84aaa08ce 100644 --- a/src/modules/sound/lullaby/Sound.cpp +++ b/src/modules/sound/lullaby/Sound.cpp @@ -74,13 +74,13 @@ const char *Sound::getName() const sound::Decoder *Sound::newDecoder(Stream *stream, int bufferSize) { std::vector possibleDecoders = { - DecoderImplFor(), + DecoderImplFor(), + DecoderImplFor(), DecoderImplFor(), #ifdef LOVE_SUPPORT_COREAUDIO DecoderImplFor(), #endif - DecoderImplFor(), - DecoderImplFor(), + DecoderImplFor(), #ifndef LOVE_NO_MODPLUG DecoderImplFor(), // Last because it doesn't work well with Streams. #endif