No description
Find a file
ivakam e9a85ec254
Implement clear() and skip_one() functionality (continuation of #287) (#442)
* Clear and Skip functionality added

Added a clear() and skip_one() method to the Sink impl

* Use one lock for clear

Return the length in the queue clear function so that we don't have to get a lock twice.

* Rework skip to mark all sources as skippable


---------

Co-authored-by: Nathan Abel <abel8706@kettering.edu>
Co-authored-by: Ivar Kamsvåg <ivaka037@student.liu.se>
Co-authored-by: est31 <est31@users.noreply.github.com>
2023-02-19 13:46:18 +01:00
.github/workflows Add optional Symphonia backend (#376) 2021-06-29 09:12:28 +02:00
assets Force queue to play sources on frame boundaries (#455) 2022-11-23 01:36:57 +01:00
examples Add dynamic mixer example (#467) 2023-01-11 18:32:39 +01:00
src Implement clear() and skip_one() functionality (continuation of #287) (#442) 2023-02-19 13:46:18 +01:00
tests Move sound to assets/; Exclude it from package (#421) 2022-03-26 20:15:18 +01:00
.gitignore Initial commit 2015-07-22 12:14:11 +02:00
.rustfmt.toml Migrate to edition 2018 2020-05-02 13:33:57 +01:00
Cargo.toml Release 0.17.0 (#480) 2023-02-17 22:42:40 +01:00
CHANGELOG.md Release 0.17.0 (#480) 2023-02-17 22:42:40 +01:00
LICENSE-APACHE Require all new contributions to be MIT/Apache2 (#175) 2018-08-17 13:59:55 +02:00
LICENSE-MIT Require all new contributions to be MIT/Apache2 (#175) 2018-08-17 13:59:55 +02:00
README.md Default to pure-Rust Symphonia for MP3 decoding (#453) 2022-11-12 05:08:36 +01:00

Audio playback library

Crates.io Version Crates.io Downloads Build Status

Rust playback library.

Playback is handled by cpal. Format decoding can be handled either by Symphonia, or by format-specific decoders:

See the docs for more details on backends.

Documentation

The documentation contains an introduction to the library.

License

Licensed under either of

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.