Replies: 2 comments
-
Please carefully check if your file is OGG or MP3. |
Beta Was this translation helpful? Give feedback.
0 replies
-
thank you this code works for me
main.rs
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hello,
try to build the code from this LINK/URL
https://dev-docs.bevy.org/bevy_audio/index.html
Cargo.toml
main.rs
got error when run cargo run
No sound is played
Using a Debian based Linux System
But this runs pulseaudio - I belive
need help to fix this
tryed with MP3 file too but the same result
did install
sudo apt-get install pulseaudio-module-jack
but now now error/info message but no sound played
did build (x-compile) for windows too...
but the same no info/error message and no sound output
rustup target add i686-pc-windows-gnu
rustup target add x86_64-pc-windows-gnu
cargo build --release --target i686-pc-windows-gnu
cargo build --release --target x86_64-pc-windows-gnu
the MP3 file is in the same directory as the binary
Beta Was this translation helpful? Give feedback.
All reactions