Update JACK to 0.13

Biggest changes are to logging and safety.
  - Panics are caught at C/Rust boundary instead of crashing program
    with no messages.
    - Stack trace is usually printed.
  - `log` crate logging is enabled by default. Use something like
    https://docs.rs/env_logger/latest/env_logger/ with writing to file
    to see debug logs.
This commit is contained in:
Will Medrano 2024-09-22 14:16:37 -07:00
parent 0bf9002e6b
commit 6851240c8c
4 changed files with 253 additions and 213 deletions

11
Cargo.lock generated
View file

@ -1094,11 +1094,11 @@ checksum = "49f1f14873335454500d59611f1cf4a4b0f786f9ac11f4312a78e4cf2566695b"
[[package]]
name = "jack"
version = "0.10.0"
version = "0.13.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "ce722655a29b13bb98ec7e8ba9dc65d670b9b37c7b1c09775c7f7516811c5a36"
checksum = "78a4ae24f4ee29676aef8330fed1104e72f314cab16643dbeb61bfd99b4a8273"
dependencies = [
"bitflags 1.3.2",
"bitflags 2.6.0",
"jack-sys",
"lazy_static",
"libc",
@ -1107,14 +1107,15 @@ dependencies = [
[[package]]
name = "jack-sys"
version = "0.4.0"
version = "0.5.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "e9d70559ff166d148ccb750ddd77702af760718f3a752c731add168c22c16a9f"
checksum = "6013b7619b95a22b576dfb43296faa4ecbe40abbdb97dfd22ead520775fc86ab"
dependencies = [
"bitflags 1.3.2",
"lazy_static",
"libc",
"libloading 0.7.4",
"log",
"pkg-config",
]