wav to ogg for ambient tracks
This commit is contained in:
parent
b105a415d5
commit
7ac2e14471
3 changed files with 1 additions and 1 deletions
BIN
resources/sounds/amb/relaxed.ogg
Normal file
BIN
resources/sounds/amb/relaxed.ogg
Normal file
Binary file not shown.
Binary file not shown.
|
|
@ -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),
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue