1
0
Fork 0

Update the JACK bindings

We should no longer have to use our own fork for this.
This commit is contained in:
Robbert van der Helm 2023-02-26 16:23:24 +01:00
parent 86adca2e5a
commit 49e99eef53
4 changed files with 13 additions and 9 deletions

11
Cargo.lock generated
View file

@ -2001,8 +2001,9 @@ checksum = "fad582f4b9e86b6caa621cabeb0963332d92eea04729ab12892c2533951e6440"
[[package]]
name = "jack"
version = "0.10.0"
source = "git+https://github.com/robbert-vdh/rust-jack.git?tag=tmp-handle-library-failure#1b4055a7b9f6f6bab7646f3dc10cc9355791d706"
version = "0.11.4"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "0e5a18a3c2aefb354fb77111ade228b20267bdc779de84e7a4ccf7ea96b9a6cd"
dependencies = [
"bitflags",
"jack-sys",
@ -2013,13 +2014,15 @@ dependencies = [
[[package]]
name = "jack-sys"
version = "0.4.0"
source = "git+https://github.com/robbert-vdh/rust-jack.git?tag=tmp-handle-library-failure#1b4055a7b9f6f6bab7646f3dc10cc9355791d706"
version = "0.5.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "6013b7619b95a22b576dfb43296faa4ecbe40abbdb97dfd22ead520775fc86ab"
dependencies = [
"bitflags",
"lazy_static",
"libc",
"libloading",
"log",
"pkg-config",
]

View file

@ -110,9 +110,7 @@ baseview = { git = "https://github.com/RustAudio/baseview.git", rev = "7001c2521
# All the claps!
clap = { version = "3.2", features = ["derive"], optional = true }
cpal = { version = "0.14.1", optional = true }
# Current upstream JACK always links to libjack, even when using the default
# dynamic loading feature
jack = { git = "https://github.com/robbert-vdh/rust-jack.git", tag = "tmp-handle-library-failure", optional = true }
jack = { version = "0.11.4", optional = true }
midir = { version = "0.9.1", optional = true }
rtrb = { version = "0.2.2", optional = true }

View file

@ -7,10 +7,10 @@ license = "GPL-3.0-or-later"
homepage = "https://github.com/robbert-vdh/nih-plug/tree/master/plugins/spectral_compressor"
[lib]
crate-type = ["cdylib"]
crate-type = ["lib", "cdylib"]
[dependencies]
nih_plug = { path = "../../", features = ["assert_process_allocs"] }
nih_plug = { path = "../../", features = ["assert_process_allocs", "standalone"] }
nih_plug_vizia = { path = "../../nih_plug_vizia" }
realfft = "3.0"

View file

@ -0,0 +1,3 @@
fn main() {
nih_plug::nih_export_standalone::<spectral_compressor::SpectralCompressor>();
}