mirror of
https://github.com/izzy2lost/libultraship.git
synced 2026-06-19 01:16:13 -07:00
Fix SDL audio (#938)
This commit is contained in:
@@ -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()) {
|
||||
|
||||
Reference in New Issue
Block a user