From 43fb60ebaac924de9194cab7434f377eb7204e53 Mon Sep 17 00:00:00 2001 From: "Zed A. Shaw" Date: Fri, 8 Nov 2024 13:24:31 -0500 Subject: [PATCH] Removed the ambient sound until I can redesign it. --- gui.cpp | 4 ++-- tests/sound.cpp | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/gui.cpp b/gui.cpp index 79e2399..92064da 100644 --- a/gui.cpp +++ b/gui.cpp @@ -39,11 +39,11 @@ GUI::GUI(DinkyECS::World &world, Map& game_map) : $renderer($canvas, $map_screen, $screen) { // this needs a config file soon - $sounds.load("ambient", "ambient_sound.mp3"); + // $sounds.load("ambient", "ambient_sound.mp3"); $sounds.load("loot_gold", "loot_gold.mp3"); $sounds.load("combat_player_hit", "combat_player_hit.mp3"); $sounds.load("combat_enemy_hit", "combat_enemy_hit.mp3"); - $sounds.load("combat_miss", "combat_miss.flac"); + $sounds.load("combat_miss", "combat_miss.mp3"); resize_map(BASE_MAP_FONT_SIZE); } diff --git a/tests/sound.cpp b/tests/sound.cpp index 8d65979..0c999d2 100644 --- a/tests/sound.cpp +++ b/tests/sound.cpp @@ -15,7 +15,7 @@ TEST_CASE("confirm basic functionality", "[sounds]") { REQUIRE_THROWS(sounds.load("bad", "badfileDOESNOTEXIST.wav")); REQUIRE_THROWS(sounds.play("bad")); - sounds.load("combat_miss", "combat_miss.flac"); + sounds.load("combat_miss", "combat_miss.mp3"); sounds.play("combat_miss"); sounds.playAt("combat_miss", 1, 1, 1); }