Skip to content

Commit 3017ae2

Browse files
committed
feedback from roderick and petr
1 parent 2bcf29a commit 3017ae2

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
- Adds a function to write a `Source` to a `wav` file, see `output_to_wav`.
@@ -39,7 +39,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
3939
- Breaking: Sources now use `f32` samples. To convert to and from other types of samples use
4040
functions from `dasp_sample` crate. For example `DaspSample::from_sample(sample)`.
4141
- Breaking: `symphonia::SeekError` has a new variant `AccurateSeekNotSupported`
42-
and variants `Retrying` and `Refining` have been removed.
42+
and variants `Retrying` and `Refining` have been removed. Catching this error
43+
may allow a caller to retry in coarse seek mode.
4344

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

63-
# Version 0.20.1 (2024-11-08)
64+
## Version [0.20.1] - 2024-11-08
6465

6566
### Fixed
6667
- Builds without the `symphonia` feature did not compile
6768

68-
# Version 0.20.0 (2024-11-08)
69+
## Version [0.20.0] - 2024-11-08
6970

7071
### Added
7172
- Support for *ALAC/AIFF*
@@ -93,7 +94,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
9394
### Changed
9495
- `SamplesBuffer` is now `Clone`
9596

96-
# Version 0.19.0 (2024-06-29)
97+
## Version [0.19.0] - 2024-06-29
9798

9899
### Added
99100
- Adds a new source `track_position`. It keeps track of duration since the
@@ -103,12 +104,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
103104
- Mp4a with decodable tracks after undecodable tracks now play. This matches
104105
VLC's behaviour.
105106

106-
# Version 0.18.1 (2024-05-23)
107+
## Version [0.18.1] - 2024-05-23
107108

108109
### Fixed
109110
- Seek no longer hangs if the sink is empty.
110111

111-
# Version 0.18.0 (2024-05-05)
112+
## Version [0.18.0] - 2024-05-05
112113

113114
### Changed
114115
- `Source` trait is now also implemented for `Box<dyn Source>` and `&mut Source`
@@ -129,32 +130,32 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
129130
- `mp3::is_mp3()` no longer changes the position in the stream when the stream
130131
is mp3
131132

132-
# Version 0.17.3 (2023-10-23)
133+
## Version [0.17.3] - 2023-10-23
133134

134135
- Build fix for `minimp3` backend.
135136

136-
# Version 0.17.2 (2023-10-17)
137+
## Version [0.17.2] - 2023-10-17
137138

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

143-
# Version 0.17.1 (2023-02-25)
144+
## Version [0.17.1] - 2023-02-25
144145

145146
- Disable `symphonia`'s default features.
146147

147-
# Version 0.17.0 (2023-02-17)
148+
## Version [0.17.0] - 2023-02-17
148149

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

152-
# Version 0.16.0 (2022-09-14)
153+
## Version [0.16.0] - 2022-09-14
153154

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

157-
# Version 0.15.0 (2022-01-23)
158+
## Version [0.15.0] - 2022-01-23
158159

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

166-
# Version 0.14.0 (2021-05-21)
167+
## Version [0.14.0] - 2021-05-21
167168

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

174-
# Version 0.13.1 (2021-03-28)
175+
## Version [0.13.1] - 2021-03-28
175176

176177
- Fix panic when no `pulseaudio-alsa` was installed.
177178

178-
# Version 0.13.0 (2020-11-03)
179+
## Version [0.13.0] - 2020-11-03
179180

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

183-
# Version 0.12.0 (2020-10-05)
184+
## Version [0.12.0] - 2020-10-05
184185

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

190-
# Version 0.11.0 (2020-03-16)
191+
## Version [0.11.0] - 2020-03-16
191192

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

195-
# Version 0.10.0 (2019-11-16)
196+
## Version [0.10.0] - 2019-11-16
196197

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

202-
# Version 0.9.0 (2019-06-08)
203+
## Version [0.9.0] - 2019-06-08
203204

204205
- Remove exclusive `&mut` borrow requirements in `Sink` & `SpatialSink` setters.
205206
- Use `nalgebra` instead of `cgmath` for `Spatial` source.
206207

207-
# Version 0.8.1 (2018-09-18)
208+
## Version [0.8.1] - 2018-09-18
208209

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

212-
# Version 0.8.0 (2018-06-22)
213+
## Version [0.8.0] - 2018-06-22
213214

214215
- Add mp3 decoding capabilities via `minimp3`
215216

216-
# Version 0.7.0 (2018-04-19)
217+
## Version [0.7.0] - 2018-04-19
217218

218219
- Update `cpal` dependency to 0.8, and adopt the new naming convention
219220
- 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)