Skip to content

Commit e1612d5

Browse files
committed
chore: prepare cpal 0.18.2 and asio-sys 0.4.0 release
1 parent 8806724 commit e1612d5

4 files changed

Lines changed: 26 additions & 13 deletions

File tree

CHANGELOG.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ All notable changes to this project will be documented in this file.
55
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
66
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
77

8-
## [Unreleased]
8+
## [0.18.2] - 2026-08-16
99

1010
### Added
1111

@@ -18,9 +18,9 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
1818

1919
- **BSD**: Clarify that `realtime-dbus` has no effect there.
2020
- **CoreAudio**: Bump `objc2-core-foundation` dependency lower bound to 0.3.1.
21-
- **Linux**: Clarify that `realtime` alone is a no-op without `realtime-dbus`.
2221
- **iOS**: Timestamps now include hardware latency and update when the audio route changes.
2322
- **JACK**: Timestamps now include port latency.
23+
- **Linux**: Clarify that `realtime` alone is a no-op without `realtime-dbus`.
2424
- **PipeWire**: Devices with multiple ports now get distinct, localized, per-port names.
2525
- **WASAPI**: The `windows` and `windows-core` dependencies are now both pinned to 0.62.
2626

@@ -32,27 +32,27 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
3232
- **ASIO**: Fix duplex streams silently dropping audio when built from separate `Device` handles.
3333
- **AudioWorklet**: Fix `Stream` operations to work when called from any thread.
3434
- **AudioWorklet**: Fix stale audio output when a data callback wrote a partial buffer.
35-
- **CoreAudio**: Default-output streams now report xrun status.
3635
- **CoreAudio**: Fix stale audio output when a data callback wrote a partial buffer.
36+
- **CoreAudio**: Default-output streams now report xrun status.
3737
- **iOS**: Streams now resume automatically when an audio session interruption ends.
3838
- **JACK**: Streams with more channels than physical system ports no longer fail to build.
3939
- **JACK**: Channel enumeration is no longer capped at the physical system port count.
4040
- **JACK**: `Device::id` no longer embeds the process ID, so `DeviceId` is now stable across application restarts.
4141
- **PipeWire**: Fix streams starting audio before `play()` is called.
42-
- **PipeWire**: Fix rtkit burst limit errors from repeated real-time promotion on quantum jitter.
4342
- **PipeWire**: Fix real-time promotion blocking the audio callback thread on Linux.
43+
- **PipeWire**: Fix rtkit burst limit errors from repeated real-time promotion on quantum jitter.
4444
- **PipeWire**: Fix 24-bit sample format mapping.
4545
- **PipeWire**: Nodes with an `/Internal` media class are now enumerated as devices.
4646
- **PipeWire**: Streams for a specific device no longer auto-reroute if it disappears.
4747
- **PipeWire**: Build on 32-bit targets without native 64-bit atomics.
4848
- **PulseAudio**: `NoData` errors are no longer misreported as buffer xruns.
4949
- **PulseAudio**: Build on 32-bit targets without native 64-bit atomics.
5050
- **visionOS**: The CoreAudio backend now builds.
51-
- **WASAPI**: Default device changes no longer report `DeviceChanged`, which wrongly implied the stream had rerouted automatically.
52-
- **WASAPI**: Reported buffer sizes are no longer off by one frame.
5351
- **WASAPI**: `Stream::drop`, `play`, and `pause` no longer panic when the device is lost.
5452
- **WASAPI**: Output streams no longer reject formats that the built-in resampler can convert.
5553
- **WASAPI**: Fix 24-bit samples not being packed into the upper bits of their sample container.
54+
- **WASAPI**: Reported buffer sizes are no longer off by one frame.
55+
- **WASAPI**: Default device changes no longer report `DeviceChanged`, which wrongly implied the stream had rerouted automatically.
5656
- **WebAudio**: Fix stale audio output when a data callback wrote a partial buffer.
5757
- **WebAudio**: Fix unsound `Send + Sync` on `Stream` when compiled with `+atomics`.
5858
- **WebAudio**: Fix `Host::is_available()` always returning `true`, even in non-window contexts.
@@ -1337,7 +1337,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
13371337

13381338
- Initial commit.
13391339

1340-
[Unreleased]: https://github.com/RustAudio/cpal/compare/v0.18.1...HEAD
1340+
[0.18.2]: https://github.com/RustAudio/cpal/compare/v0.18.1...v0.18.2
13411341
[0.18.1]: https://github.com/RustAudio/cpal/compare/v0.18.0...v0.18.1
13421342
[0.18.0]: https://github.com/RustAudio/cpal/compare/v0.17.3...v0.18.0
13431343
[0.17.3]: https://github.com/RustAudio/cpal/compare/v0.17.2...v0.17.3

Cargo.toml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,12 @@
11
[package]
22
name = "cpal"
3-
version = "0.18.1"
3+
version = "0.18.2"
44
description = "Low-level cross-platform audio I/O library."
55
repository = "https://github.com/RustAudio/cpal"
66
documentation = "https://docs.rs/cpal"
77
license = "Apache-2.0"
8-
keywords = ["audio", "sound"]
8+
keywords = ["audio", "sound", "playback", "recording", "cross-platform"]
9+
categories = ["multimedia::audio"]
910
edition = "2021"
1011
rust-version = "1.85"
1112

@@ -119,7 +120,7 @@ windows = { version = "0.62", features = [
119120
"Win32_UI_Shell_PropertiesSystem",
120121
] }
121122
audio_thread_priority = { version = "0.35", optional = true, default-features = false }
122-
asio-sys = { version = "0.3.0", path = "asio-sys", optional = true }
123+
asio-sys = { version = "0.4.0", path = "asio-sys", optional = true }
123124
num-traits = { version = "0.2", optional = true }
124125
jack = { version = "0.13.5", optional = true }
125126

asio-sys/CHANGELOG.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,12 @@ All notable changes to this project will be documented in this file.
55
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
66
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
77

8+
## [0.4.0] - 2026-08-16
9+
10+
### Added
11+
- Added `Driver::streams()` to access a driver's shared input/output buffer state
12+
- Derived `Debug` on `AsioStreams` and `AsioStream`
13+
814
## [0.3.0] - 2026-06-06
915

1016
### Added
@@ -125,6 +131,7 @@ Initial release.
125131
- Support for MSVC toolchain on Windows
126132
- Basic error types: `AsioError`, `LoadDriverError`
127133

134+
[0.4.0]: https://github.com/RustAudio/cpal/compare/asio-sys-v0.3.0...asio-sys-v0.4.0
128135
[0.3.0]: https://github.com/RustAudio/cpal/compare/asio-sys-v0.2.6...asio-sys-v0.3.0
129136
[0.2.6]: https://github.com/RustAudio/cpal/compare/asio-sys-v0.2.5...asio-sys-v0.2.6
130137
[0.2.5]: https://github.com/RustAudio/cpal/compare/asio-sys-v0.2.4...asio-sys-v0.2.5

asio-sys/Cargo.toml

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,19 @@
11
[package]
22
name = "asio-sys"
3-
version = "0.3.0"
3+
version = "0.4.0"
44
authors = ["Tom Gowan <tomrgowan@gmail.com>"]
55
description = "Low-level interface and binding generation for the steinberg ASIO SDK."
6-
repository = "https://github.com/RustAudio/cpal/"
6+
repository = "https://github.com/RustAudio/cpal"
77
documentation = "https://docs.rs/asio-sys"
88
license = "Apache-2.0"
9-
keywords = ["audio", "sound", "asio", "steinberg"]
9+
keywords = ["audio", "sound", "asio", "steinberg", "windows"]
10+
categories = ["external-ffi-bindings", "os::windows-apis", "multimedia::audio"]
1011
edition = "2021"
1112
rust-version = "1.82"
13+
links = "asio"
14+
15+
[badges]
16+
maintenance = { status = "actively-developed" }
1217

1318
[build-dependencies]
1419
bindgen = "0.72"

0 commit comments

Comments
 (0)