Skip to content

Commit e12aa28

Browse files
committed
Downgrade cpal to PR/feature branch adding OpenBSD support
Done with editing Cargo.toml followed by `cargo update -p cpal`, which, sadly, change a whole bunch of other dependencies. This makes audio play, but two issues remain: 1. Playback speed is noticably slow. 2. Toggling play -> shows this error, although playback is successfully paused: ``` [2021-11-17T16:03:04Z ERROR psst_core::audio::output] failed to stop stream: A backend-specific error has occurred: pausing is not implemented ``` "Add support for OpenBSD platform via sndio host" RustAudio/cpal#493 is based on an older cpal release; maybe rebasing on top of HEAD and therefore bringing in the cpal changes that current psst already uses helps with/fixes any of the two issues?
1 parent 88a2f09 commit e12aa28

File tree

2 files changed

+120
-49
lines changed

2 files changed

+120
-49
lines changed

Cargo.lock

Lines changed: 118 additions & 49 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,3 +18,5 @@ opt-level = 2
1818
piet = { git = "https://github.com/jpochyla/piet", branch = "ctfont-cache" }
1919
piet-common = { git = "https://github.com/jpochyla/piet", branch = "ctfont-cache" }
2020
piet-coregraphics = { git = "https://github.com/jpochyla/piet", branch = "ctfont-cache" }
21+
# (not merged yet) solve panic at startup: "Add support for OpenBSD platform via sndio host" https://github.com/RustAudio/cpal/pull/493
22+
cpal = { git = "https://github.com/conwayste/cpal", branch = "aaron/openbsd_sndio_host" }

0 commit comments

Comments
 (0)