Call the sound effect mixer directly from Mix instead of pushing the samples from background audio.

This commit is contained in:
Henrik Rydgård committed 2023-07-12 17:55:46 +02:00
1 parent 830679503d
commit 19f4eadeb1
4 files changed
+130 -93

No files matched your search

+1 -1
View File
@@ -763,7 +763,7 @@ void NativeInit(int argc, const char *argv[], const char *savegame_dir, const ch
#endif
// TODO: Load these in the background instead of synchronously.
g_BackgroundAudio.LoadSamples();
g_BackgroundAudio.SFX().LoadSamples();
if (!boot_filename.empty() && stateToLoad.Valid()) {
SaveState::Load(stateToLoad, -1, [](SaveState::Status status, const std::string &message, void *) {