Skip to content

Updated cpal from 0.17.0 to 0.18.1.#159

Open
Eagisa wants to merge 5 commits into
tesselode:mainfrom
Eagisa:cpal-0.18-upgrade
Open

Updated cpal from 0.17.0 to 0.18.1.#159
Eagisa wants to merge 5 commits into
tesselode:mainfrom
Eagisa:cpal-0.18-upgrade

Conversation

@Eagisa

@Eagisa Eagisa commented Jun 8, 2026

Copy link
Copy Markdown

Changes made to adapt to the new unified error API in 0.18.0:

  • Replaced BuildStreamError, DefaultStreamConfigError, and PlayStreamError with the new unified cpal::Error type in error.rs
  • Updated StreamError references to cpal::Error in desktop.rs and stream_manager.rs
  • Updated StreamError variant matching to use the new ErrorKind API
  • Fixed build_output_stream() to pass StreamConfig by value instead of by reference

Tested locally with no playback issues and all 98 tests pass.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant