Make convert and decoder public (#814)

This commit is contained in:
Reinier Balt 2021-06-30 09:54:02 +02:00 committed by GitHub
parent c0115fd4e8
commit 751ccf63bb
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 2 deletions

View file

@ -25,6 +25,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- [playback] `alsamixer`: query card dB range for the `log` volume control unless specified otherwise
- [playback] `alsamixer`: use `--device` name for `--mixer-card` unless specified otherwise
- [playback] `player`: consider errors in `sink.start`, `sink.stop` and `sink.write` fatal and `exit(1)` (breaking)
- [playback] `player`: make `convert` and `decoder` public so you can implement your own `Sink`
### Deprecated
- [connect] The `discovery` module was deprecated in favor of the `librespot-discovery` crate

View file

@ -7,8 +7,8 @@ use librespot_metadata as metadata;
pub mod audio_backend;
pub mod config;
mod convert;
mod decoder;
pub mod convert;
pub mod decoder;
pub mod dither;
pub mod mixer;
pub mod player;