Music should be streamed

This commit is contained in:
Attila Uygun 2023-06-26 10:25:22 +02:00
parent 615c39a4fe
commit 1b9faac310
1 changed files with 2 additions and 2 deletions

View File

@ -54,8 +54,8 @@ bool Demo::PreInitialize() {
"sky_without_nebula.glsl"); "sky_without_nebula.glsl");
Engine::Get().SetShaderSource("sky", "sky.glsl"); Engine::Get().SetShaderSource("sky", "sky.glsl");
Engine::Get().AsyncLoadSound("music", "Game_2_Main.mp3"); Engine::Get().AsyncLoadSound("music", "Game_2_Main.mp3", true);
Engine::Get().AsyncLoadSound("boss_music", "Game_2_Boss.mp3"); Engine::Get().AsyncLoadSound("boss_music", "Game_2_Boss.mp3", true);
if (!enemy_.PreInitialize()) { if (!enemy_.PreInitialize()) {
LOG << "Failed to create the enemy."; LOG << "Failed to create the enemy.";