diff options
author | Loek Le Blansch <loek@pipeframe.xyz> | 2024-11-18 18:02:09 +0100 |
---|---|---|
committer | Loek Le Blansch <loek@pipeframe.xyz> | 2024-11-18 18:02:09 +0100 |
commit | 8d78727d6e7badca16ba7a1328643928a0039569 (patch) | |
tree | 3b0bab3c1a800f74e9f80292c9b5b7b3955ad999 /src/example/audio_internal.cpp | |
parent | 121b64b1cb6cfead5814070c8b0185d3d7308095 (diff) |
move utilities from loek/audio
Diffstat (limited to 'src/example/audio_internal.cpp')
-rw-r--r-- | src/example/audio_internal.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/example/audio_internal.cpp b/src/example/audio_internal.cpp index 661161a..1647f20 100644 --- a/src/example/audio_internal.cpp +++ b/src/example/audio_internal.cpp @@ -25,11 +25,11 @@ int _ = []() { int main() { // Load a background track (Ogg Vorbis) - auto bgm = Sound("../mwe/audio/bgm.ogg"); + auto bgm = Sound("mwe/audio/bgm.ogg"); // Load three short samples (WAV) - auto sfx1 = Sound("../mwe/audio/sfx1.wav"); - auto sfx2 = Sound("../mwe/audio/sfx2.wav"); - auto sfx3 = Sound("../mwe/audio/sfx3.wav"); + auto sfx1 = Sound("mwe/audio/sfx1.wav"); + auto sfx2 = Sound("mwe/audio/sfx2.wav"); + auto sfx3 = Sound("mwe/audio/sfx3.wav"); // Start the background track bgm.play(); |