Crates.io | jack |
lib.rs | jack |
version | 0.13.0 |
source | src |
created_at | 2016-10-09 16:17:16.899446 |
updated_at | 2024-09-14 23:11:08.919539 |
description | Real time audio and midi with JACK. |
homepage | |
repository | https://github.com/RustAudio/rust-jack |
max_upload_size | |
id | 6795 |
size | 284,564 |
Rust bindings for JACK Audio Connection Kit.
📚 Documentation | :heart: Sponsor |
The JACK server is usually started by the user or system. Clients can request
that the JACK server is started on demand when they connect, but this can be
disabled by creating a client with the NO_START_SERVER
option or
ClientOptions::default()
.
Refer to the docs.rs documentation for details about the API. For more general documentation, visit https://rustaudio.github.io/rust-jack.
Testing requires setting up a dummy server and running the tests using a single
thread. rust-jack
automatically configures cargo nextest
to use a single
thread.
# Set up a dummy server for tests. The script is included in this repository.
./dummy_jack_server.sh &
# Run tests
cargo nextest run
Note: If cargo nextest is not available, use RUST_TEST_THREADS=1 cargo test
to
run in single threaded mode.
If the tests are failing, a possible gotcha may be timing issues.
cargo test
, try cargo nextest
. The cargo nextest
configuration is set up to run single threaded and to retry flaky tests up
to 3 times.sleep_on_test
in client/common.rs
.Another case is that libjack may be broken on your setup. Try using libjack2 or pipewire-jack.