12 unstable releases (3 breaking)
0.4.5 | Dec 19, 2022 |
---|---|
0.4.4 | Oct 12, 2022 |
0.4.2 | Sep 7, 2022 |
0.4.0 | Jul 31, 2022 |
0.1.0 | Mar 31, 2022 |
#836 in Audio
Used in 2 crates
(via simple-game-utils)
60KB
1.5K
SLoC
Audio Engine
A cross-platform rust crate for audio playback, build on top of cpal.
Supported formats
- ogg
- wav
Example
use audio_engine::{AudioEngine, WavDecoder};
let audio_engine = AudioEngine::new()?;
let mut sound = audio_engine.new_sound(WavDecoder::new(my_wav_sound)?)?;
sound.play();
License
Licensed under either of
- Apache License, Version 2.0, (LICENSE-APACHE or http://www.apache.org/licenses/LICENSE-2.0)
- MIT license (LICENSE-MIT or http://opensource.org/licenses/MIT)
at your option.
Contribution
Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.
Dependencies
~0.7–28MB
~421K SLoC