diff options
| author | Freya Murphy <freya@freyacat.org> | 2025-11-22 13:29:10 -0500 |
|---|---|---|
| committer | Freya Murphy <freya@freyacat.org> | 2025-11-22 13:29:10 -0500 |
| commit | 2274d33e469aca544a7aeb899a10769b973ae374 (patch) | |
| tree | 7ff10964234fd5e8917624508e249265a3d0b19c /audio/src/channel.rs | |
| parent | audio: move 'asm' files out of data segment (diff) | |
| download | DungeonCrawl-2274d33e469aca544a7aeb899a10769b973ae374.tar.gz DungeonCrawl-2274d33e469aca544a7aeb899a10769b973ae374.tar.bz2 DungeonCrawl-2274d33e469aca544a7aeb899a10769b973ae374.zip | |
audio: refactor into seperate crate
Diffstat (limited to '')
| -rw-r--r-- | audio/src/channel.rs (renamed from graphics/src/audio/channel.rs) | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/graphics/src/audio/channel.rs b/audio/src/channel.rs index a1ad144..7ed61a6 100644 --- a/graphics/src/audio/channel.rs +++ b/audio/src/channel.rs @@ -5,7 +5,7 @@ type Music = raylib::audio::Music<'static>; macro_rules! load_audio { ($handle:expr, $filepath:expr) => {{ let mut audio = if cfg!(any(feature = "static", target_arch = "wasm32")) { - let bytes = include_bytes!(concat!("../../../", $filepath)); + let bytes = include_bytes!(concat!("../../", $filepath)); let vec = Vec::from(bytes); $handle.new_music_from_memory(".wav", &vec)? } else { |