Skip to content

Commit 751ccf6

Browse files
authored
Make convert and decoder public (#814)
1 parent c0115fd commit 751ccf6

2 files changed

Lines changed: 3 additions & 2 deletions

File tree

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
2525
- [playback] `alsamixer`: query card dB range for the `log` volume control unless specified otherwise
2626
- [playback] `alsamixer`: use `--device` name for `--mixer-card` unless specified otherwise
2727
- [playback] `player`: consider errors in `sink.start`, `sink.stop` and `sink.write` fatal and `exit(1)` (breaking)
28+
- [playback] `player`: make `convert` and `decoder` public so you can implement your own `Sink`
2829

2930
### Deprecated
3031
- [connect] The `discovery` module was deprecated in favor of the `librespot-discovery` crate

playback/src/lib.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@ use librespot_metadata as metadata;
77

88
pub mod audio_backend;
99
pub mod config;
10-
mod convert;
11-
mod decoder;
10+
pub mod convert;
11+
pub mod decoder;
1212
pub mod dither;
1313
pub mod mixer;
1414
pub mod player;

0 commit comments

Comments
 (0)