No description
Find a file
Jayden Dumouchel 44b92d43e9
Fix Sink playback after stop (#464)
Addressing issues #462 and #315 and #171

Given how the sink's queue is drained on stop I made some modifications in sink.append(). I added a check to ensure the sink was flushed completely (not sure this is necessary? I think it is, to avoid race conditions) and to restart the sink on append (when stopped.)

I added a test demonstrating correctness, as well as performing some trials on my own.
2023-02-17 21:12:32 +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 Fix Sink playback after stop (#464) 2023-02-17 21:12:32 +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 update cpal to 0.15 (#478) 2023-02-17 13:05:23 +01:00
CHANGELOG.md Release version 0.16.0 (#441) 2022-09-14 14:43:27 +02: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.