mirror of
https://github.com/RustAudio/rodio
synced 2024-11-10 06:04:16 +00:00
No description
2e08a7efa6
If the source we are skipping runs out of data, it will return Some(0) as the frame length. Before, this would cause an infinite loop because we would skip zero samples forever. This commit fixes it by checking explicitly if the frame length is zero and bailing out if it is. |
||
---|---|---|
.github/workflows | ||
examples | ||
src | ||
tests | ||
.gitignore | ||
.rustfmt.toml | ||
Cargo.toml | ||
CHANGELOG.md | ||
LICENSE-APACHE | ||
LICENSE-MIT | ||
README.md |
Audio playback library
Rust playback library.
- Playback is handled by cpal.
- MP3 decoding is handled by minimp3.
- WAV decoding is handled by hound.
- Vorbis decoding is handled by lewton.
- Flac decoding is handled by claxon.
- MP4 and AAC (both disabled by default) are handled by Symphonia.
Alternatively, Symphonia can be used to decode any of the other codecs above with the exception of Vorbis. See the docs for more details on backends.
Documentation
The documentation contains an introduction to the library.
License
Licensed under either of
- Apache License, Version 2.0, (LICENSE-APACHE or http://www.apache.org/licenses/LICENSE-2.0), or
- MIT license (LICENSE-MIT or http://opensource.org/licenses/MIT)
at your option.
License of your contributions
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.