Skip to content

Commit ec926b8

Browse files
committed
feedback from roderick and petr
1 parent 2f13a08 commit ec926b8

File tree

4 files changed

+28
-29
lines changed

4 files changed

+28
-29
lines changed

CHANGELOG.md

Lines changed: 24 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
99

1010
## [Unreleased]
1111

12-
# Version 0.21 (TODO)
12+
## Version [0.21] (TODO)
1313

1414
### Added
1515
- Added `Source::amplify_decibel()` method to control volume by decibels.
@@ -42,7 +42,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
4242
- Breaking: Sources now use `f32` samples. To convert to and from other types of samples use
4343
functions from `dasp_sample` crate. For example `DaspSample::from_sample(sample)`.
4444
- Breaking: `symphonia::SeekError` has a new variant `AccurateSeekNotSupported`
45-
and variants `Retrying` and `Refining` have been removed.
45+
and variants `Retrying` and `Refining` have been removed. Catching this error
46+
may allow a caller to retry in coarse seek mode.
4647

4748
### Fixed
4849
- `ChannelVolume` no longer clips/overflows when converting from many channels to
@@ -63,12 +64,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
6364
### Removed
6465
- Breaking: Removed `Mp4Type` enum in favor of using MIME type string "audio/mp4" for MP4 format detection with `Decoder::new_mp4` (#612).
6566

66-
# Version 0.20.1 (2024-11-08)
67+
## Version [0.20.1] - 2024-11-08
6768

6869
### Fixed
6970
- Builds without the `symphonia` feature did not compile
7071

71-
# Version 0.20.0 (2024-11-08)
72+
## Version [0.20.0] - 2024-11-08
7273

7374
### Added
7475
- Support for *ALAC/AIFF*
@@ -96,7 +97,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
9697
### Changed
9798
- `SamplesBuffer` is now `Clone`
9899

99-
# Version 0.19.0 (2024-06-29)
100+
## Version [0.19.0] - 2024-06-29
100101

101102
### Added
102103
- Adds a new source `track_position`. It keeps track of duration since the
@@ -106,12 +107,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
106107
- Mp4a with decodable tracks after undecodable tracks now play. This matches
107108
VLC's behaviour.
108109

109-
# Version 0.18.1 (2024-05-23)
110+
## Version [0.18.1] - 2024-05-23
110111

111112
### Fixed
112113
- Seek no longer hangs if the sink is empty.
113114

114-
# Version 0.18.0 (2024-05-05)
115+
## Version [0.18.0] - 2024-05-05
115116

116117
### Changed
117118
- `Source` trait is now also implemented for `Box<dyn Source>` and `&mut Source`
@@ -132,32 +133,32 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
132133
- `mp3::is_mp3()` no longer changes the position in the stream when the stream
133134
is mp3
134135

135-
# Version 0.17.3 (2023-10-23)
136+
## Version [0.17.3] - 2023-10-23
136137

137138
- Build fix for `minimp3` backend.
138139

139-
# Version 0.17.2 (2023-10-17)
140+
## Version [0.17.2] - 2023-10-17
140141

141142
- Add `EmptyCallback` source.
142143
- Fix index out of bounds bug.
143144
- Use non-vulnerable `minimp3` fork.
144145
- Add filter functions with additional q parameter.
145146

146-
# Version 0.17.1 (2023-02-25)
147+
## Version [0.17.1] - 2023-02-25
147148

148149
- Disable `symphonia`'s default features.
149150

150-
# Version 0.17.0 (2023-02-17)
151+
## Version [0.17.0] - 2023-02-17
151152

152153
- Update `cpal` to [0.15](https://github.com/RustAudio/cpal/blob/master/CHANGELOG.md#version-0150-2022-01-29).
153154
- Default to `symphonia` for mp3 decoding.
154155

155-
# Version 0.16.0 (2022-09-14)
156+
## Version [0.16.0] - 2022-09-14
156157

157158
- Update `cpal` to [0.14](https://github.com/RustAudio/cpal/blob/master/CHANGELOG.md#version-0140-2022-08-22).
158159
- Update `symphonia` to [0.5](https://github.com/pdeljanov/Symphonia/releases/tag/v0.5.1).
159160

160-
# Version 0.15.0 (2022-01-23)
161+
## Version [0.15.0] - 2022-01-23
161162

162163
- Remove requirement that the argument `Decoder::new` and `LoopedDecoder::new` implement `Send`.
163164
- Add optional symphonia backend.
@@ -166,57 +167,57 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
166167
- `SineWave::new()` now takes a `f32` instead of a `u32`.
167168
- Add `len()` method to `SpatialSink`.
168169

169-
# Version 0.14.0 (2021-05-21)
170+
## Version [0.14.0] - 2021-05-21
170171

171172
- Re-export `cpal` in full.
172173
- Replace panics when calling `OutputStream::try_default`, `OutputStream::try_from_device` with new
173174
`StreamError` variants.
174175
- `OutputStream::try_default` will now fallback to non-default output devices if an `OutputStream`
175176
cannot be created from the default device.
176177

177-
# Version 0.13.1 (2021-03-28)
178+
## Version [0.13.1] - 2021-03-28
178179

179180
- Fix panic when no `pulseaudio-alsa` was installed.
180181

181-
# Version 0.13.0 (2020-11-03)
182+
## Version [0.13.0] - 2020-11-03
182183

183184
- Update `cpal` to [0.13](https://github.com/RustAudio/cpal/blob/master/CHANGELOG.md#version-0130-2020-10-28).
184185
- Add Android support.
185186

186-
# Version 0.12.0 (2020-10-05)
187+
## Version [0.12.0] - 2020-10-05
187188

188189
- Breaking: Update `cpal` to [0.12](https://github.com/RustAudio/cpal/blob/master/CHANGELOG.md#version-0120-2020-07-09).
189190
- Breaking: Rework API removing global "rodio audio processing" thread & adapting to the upstream cpal API changes.
190191
- Add new_X format specific methods to Decoder.
191192
- Fix resampler dependency on internal `Vec::capacity` behaviour.
192193

193-
# Version 0.11.0 (2020-03-16)
194+
## Version [0.11.0] - 2020-03-16
194195

195196
- Update `lewton` to [0.10](https://github.com/RustAudio/lewton/blob/master/CHANGELOG.md#release-0100---january-30-2020).
196197
- Breaking: Update `cpal` to [0.11](https://github.com/RustAudio/cpal/blob/master/CHANGELOG.md#version-0110-2019-12-11)
197198

198-
# Version 0.10.0 (2019-11-16)
199+
## Version [0.10.0] - 2019-11-16
199200

200201
- Removal of nalgebra in favour of own code.
201202
- Fix a bug that switched channels when resuming after having paused.
202203
- Attempt all supported output formats if the default format fails in `Sink::new`.
203204
- Breaking: Update `cpal` to [0.10](https://github.com/RustAudio/cpal/blob/master/CHANGELOG.md#version-0100-2019-07-05).
204205

205-
# Version 0.9.0 (2019-06-08)
206+
## Version [0.9.0] - 2019-06-08
206207

207208
- Remove exclusive `&mut` borrow requirements in `Sink` & `SpatialSink` setters.
208209
- Use `nalgebra` instead of `cgmath` for `Spatial` source.
209210

210-
# Version 0.8.1 (2018-09-18)
211+
## Version [0.8.1] - 2018-09-18
211212

212213
- Update `lewton` dependency to [0.9](https://github.com/RustAudio/lewton/blob/master/CHANGELOG.md#release-090---august-16-2018)
213214
- Change license from `Apache-2.0` only to `Apache-2.0 OR MIT`
214215

215-
# Version 0.8.0 (2018-06-22)
216+
## Version [0.8.0] - 2018-06-22
216217

217218
- Add mp3 decoding capabilities via `minimp3`
218219

219-
# Version 0.7.0 (2018-04-19)
220+
## Version [0.7.0] - 2018-04-19
220221

221222
- Update `cpal` dependency to 0.8, and adopt the new naming convention
222223
- BREAKING CHANGES:

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ We have written an upgrade [guide](UPGRADE.md), it will help you upgrade to rodi
2525

2626
# [Examples](https://github.com/RustAudio/rodio/tree/f1eaaa4a6346933fc8a58d5fd1ace170946b3a94/examples)
2727

28-
We are always making changes to rodio. That can mean the examples do not work with the current crates.io release. You will have to look at the examples from commit `f1eaaa4a`. They are available [on github](https://github.com/RustAudio/rodio/tree/f1eaaa4a6346933fc8a58d5fd1ace170946b3a94/examples).
28+
We are always making changes to rodio. This can mean that the examples do not work with the current crates.io release. You will have to look at the examples from commit `f1eaaa4a`. They are available [on github](https://github.com/RustAudio/rodio/tree/f1eaaa4a6346933fc8a58d5fd1ace170946b3a94/examples).
2929

3030
## Requirements
3131

UPGRADE.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ nothing
1818
removed
1919

2020
## OutputStream
21-
The outputstream is now more configurable. Where you used `OutputStream::try_default()` you have a choice:
21+
The output stream is now more configurable. Where you used `OutputStream::try_default()` you have a choice:
2222
- *(recommended)* Get an error when the default stream could not be opened: `OutputStreamBuilder::open_default_stream()?`
2323
- Stay close to the old behavior using: `OutputStreamBuilder::open_stream_or_fallback()`, which tries to open the default (audio) stream. If that fails it tries all other combinations of device and settings. The old behavior was only trying all settings of the default device.
2424

@@ -37,7 +37,7 @@ let sink = rodio::Sink::try_new(&handle)?;
3737
becomes this in Rodio *0.21.0*:
3838
```rust
3939
let stream_handle = rodio::OutputStreamBuilder::open_default_stream()?;
40-
let sink = rodio::Sink::connect_new(&stream_handle.mixer());
40+
let sink = rodio::Sink::connect_new(stream_handle.mixer());
4141
```
4242

4343
The `SpatialSink` changes mirror those in `Sink` described above.

outreach/v0.21_announcement.md

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,15 +11,13 @@ sounds, apply effects to sounds & mix them. Rodio has been part of the Rust
1111
ecosystem for 9 years now! 🎉.
1212

1313
## New release
14-
Its been 5 months since our last release. Since the our team has grown to 3
14+
It's been 5 months since our last release. Since the our team has grown to 3
1515
maintainers! Thank you Petr and Roderick! And a big thanks for the countless
1616
other contributors helping out. Thanks to them this release:
1717

1818
- Makes the API easier to use
1919
- Its now impossible to accidentally drop the `Outputstream`.
2020
- Our types are no longer generic over sample type.
21-
- The decoders have been improved enabling *gapless* playback and offering many
22-
configuration options through a new builder.
2321
- You can use rodio without `cpal` to generate `wav` files!
2422

2523
There have also been many fixes and smaller additions, take a look at the

0 commit comments

Comments
 (0)