Skip to content

Commit

Permalink
Fixed error on audio.cpp
Browse files Browse the repository at this point in the history
  • Loading branch information
KiritoDv committed Aug 18, 2024
1 parent 9415fc6 commit cca2abc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/audio/Audio.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ void Audio::InitAudioPlayer() {
// Failed to initialize system audio player.
// Fallback to SDL if the native system player does not work.
SetAudioBackend(AudioBackend::SDL);
mAudioPlayer = std::make_shared<SDLAudioPlayer>();
mAudioPlayer = std::make_shared<SDLAudioPlayer>(this->mAudioSettings);
mAudioPlayer->Init();
}
}
Expand Down

0 comments on commit cca2abc

Please sign in to comment.