You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CHANGELOG.md
+20-16Lines changed: 20 additions & 16 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -20,16 +20,31 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
20
20
21
21
- Breaking: `Done` now calls a callback instead of decrementing an `Arc<AtomicUsize>`.
22
22
- Updated `cpal` to v0.18.
23
+
- Clarified `Source::current_span_len()` documentation to specify it returns total span length.
24
+
- Explicitly document the requirement for sources to return complete frames.
25
+
- Ensured decoders to always return complete frames, as well as `TakeDuration` when expired.
26
+
-`Zero::new_samples()` now panics when it is not a multiple of the channel count.
27
+
- Improved queue, buffer, mixer and sample rate conversion performance.
23
28
24
29
### Fixed
25
30
26
31
- Fixed `Player::skip_one` not decreasing the player's length immediately.
32
+
- Fixed `Source::current_span_len()` to consistently return total span length.
33
+
- Fixed `Source::size_hint()` to consistently report actual bounds based on current sources.
34
+
- Fixed `Pausable::size_hint()` to correctly account for paused samples.
35
+
- Fixed `MixerSource` and `LinearRamp` to prevent overflow with very long playback.
36
+
- Fixed `PeriodicAccess` to prevent overflow with very long periods.
37
+
- Fixed `BltFilter` to work correctly with stereo and multi-channel audio.
38
+
- Fixed `ChannelVolume` to work correclty with stereo and multi-channel audio.
39
+
- Fixed `Brownian` and `Red` noise generators to reset after seeking.
40
+
- Fixed sources to correctly handle sample rate and channel count changes at span boundaries.
41
+
- Fixed sources to detect parameter updates after mid-span seeks.
27
42
28
43
## Version [0.22.2] (2026-02-22)
29
44
30
45
### Fixed
31
46
32
-
- Incorrectly set system default audio buffer size breaks playback. We no longer use the system default (introduced in 0.22 through cpal upgrade) and instead set a safe buffer duration.
47
+
- Incorrectly set system default audio buffer size breaks playback. We no longer use the system default (introduced in 0.22 through cpal upgrade) and instead set a safe buffer duration.
33
48
- Audio output fallback picked null device leading to no output.
34
49
- Mixer did not actually add sources sometimes.
35
50
@@ -41,6 +56,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
41
56
## Version [0.22.1] (2026-02-22)
42
57
43
58
### Fixed
59
+
44
60
- docs.rs could not build the documentation.
45
61
46
62
## Version [0.22] (2026-02-22)
@@ -77,16 +93,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
77
93
- Fixed `SamplesBuffer` to correctly report exhaustion and remaining samples.
78
94
- Improved precision in `SkipDuration` to avoid off-by-a-few-samples errors.
79
95
- Fixed `Empty` source to properly report exhaustion.
80
-
- Fixed `Source::current_span_len()` to consistently return total span length.
81
-
- Fixed `Source::size_hint()` to consistently report actual bounds based on current sources.
82
-
- Fixed `Pausable::size_hint()` to correctly account for paused samples.
83
-
- Fixed `MixerSource` and `LinearRamp` to prevent overflow with very long playback.
84
-
- Fixed `PeriodicAccess` to prevent overflow with very long periods.
85
-
- Fixed `BltFilter` to work correctly with stereo and multi-channel audio.
86
-
- Fixed `ChannelVolume` to work correclty with stereo and multi-channel audio.
87
-
- Fixed `Brownian` and `Red` noise generators to reset after seeking.
88
-
- Fixed sources to correctly handle sample rate and channel count changes at span boundaries.
89
-
- Fixed sources to detect parameter updates after mid-span seeks.
96
+
- Fixed `Zero::current_span_len` returning remaining samples instead of span length.
90
97
91
98
### Changed
92
99
@@ -107,11 +114,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
107
114
-`Gaussian` noise generator has standard deviation of 0.6 for perceptual equivalence.
108
115
-`Velvet` noise generator takes density in Hz as `usize` instead of `f32`.
109
116
- Upgraded `cpal` to v0.17.
110
-
- Clarified `Source::current_span_len()` documentation to specify it returns total span length.
111
-
- Explicitly document the requirement for sources to return complete frames.
112
-
- Ensured decoders to always return complete frames, as well as `TakeDuration` when expired.
113
-
-`Zero::new_samples()` now panics when it is not a multiple of the channel count.
114
-
- Improved queue, buffer, mixer and sample rate conversion performance.
0 commit comments