From 751ccf63bb7d3928ffad0b28ec9a65264ccc39a8 Mon Sep 17 00:00:00 2001 From: Reinier Balt Date: Wed, 30 Jun 2021 09:54:02 +0200 Subject: [PATCH] Make `convert` and `decoder` public (#814) --- CHANGELOG.md | 1 + playback/src/lib.rs | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index ceb6354..86e5763 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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 diff --git a/playback/src/lib.rs b/playback/src/lib.rs index 689b847..e39dfc7 100644 --- a/playback/src/lib.rs +++ b/playback/src/lib.rs @@ -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;