Fix SDL audio (#938)

This commit is contained in:
Sirius902
2025-10-10 21:21:25 -04:00
committed by GitHub
parent c1c4d5fd74
commit 4f6826d019
+2
View File
@@ -18,8 +18,10 @@ void Audio::InitAudioPlayer() {
#endif
case AudioBackend::SDL:
mAudioPlayer = std::make_shared<SDLAudioPlayer>(this->mAudioSettings);
break;
default:
mAudioPlayer = std::make_shared<NullAudioPlayer>(this->mAudioSettings);
break;
}
if (mAudioPlayer && !mAudioPlayer->Init()) {