wav to ogg for ambient tracks

This commit is contained in:
Llywelwyn 2023-10-12 15:33:26 +01:00
parent b105a415d5
commit 7ac2e14471
3 changed files with 1 additions and 1 deletions

Binary file not shown.

Binary file not shown.

View file

@ -75,7 +75,7 @@ pub fn replace_ambience(app: &mut App, sound: &Sound) {
pub fn init_sounds(app: &mut App) { pub fn init_sounds(app: &mut App) {
let sound_data: &[(&str, &[u8], AudioType)] = &[ let sound_data: &[(&str, &[u8], AudioType)] = &[
// (key, file_path, audiotype) // (key, file_path, audiotype)
("a_relax", include_bytes!("../../resources/sounds/amb/relaxed.wav"), AudioType::Ambient), ("a_relax", include_bytes!("../../resources/sounds/amb/relaxed.ogg"), AudioType::Ambient),
("d_blocked1", include_bytes!("../../resources/sounds/door/blocked1.wav"), AudioType::SFX), ("d_blocked1", include_bytes!("../../resources/sounds/door/blocked1.wav"), AudioType::SFX),
("d_blocked2", include_bytes!("../../resources/sounds/door/blocked2.wav"), AudioType::SFX), ("d_blocked2", include_bytes!("../../resources/sounds/door/blocked2.wav"), AudioType::SFX),
("d_blocked3", include_bytes!("../../resources/sounds/door/blocked3.wav"), AudioType::SFX), ("d_blocked3", include_bytes!("../../resources/sounds/door/blocked3.wav"), AudioType::SFX),