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

View file

@ -110,9 +110,7 @@ baseview = { git = "https://github.com/RustAudio/baseview.git", rev = "7001c2521
# All the claps! # All the claps!
clap = { version = "3.2", features = ["derive"], optional = true } clap = { version = "3.2", features = ["derive"], optional = true }
cpal = { version = "0.14.1", optional = true } cpal = { version = "0.14.1", optional = true }
# Current upstream JACK always links to libjack, even when using the default jack = { version = "0.11.4", optional = true }
# dynamic loading feature
jack = { git = "https://github.com/robbert-vdh/rust-jack.git", tag = "tmp-handle-library-failure", optional = true }
midir = { version = "0.9.1", optional = true } midir = { version = "0.9.1", optional = true }
rtrb = { version = "0.2.2", 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" homepage = "https://github.com/robbert-vdh/nih-plug/tree/master/plugins/spectral_compressor"
[lib] [lib]
crate-type = ["cdylib"] crate-type = ["lib", "cdylib"]
[dependencies] [dependencies]
nih_plug = { path = "../../", features = ["assert_process_allocs"] } nih_plug = { path = "../../", features = ["assert_process_allocs", "standalone"] }
nih_plug_vizia = { path = "../../nih_plug_vizia" } nih_plug_vizia = { path = "../../nih_plug_vizia" }
realfft = "3.0" realfft = "3.0"

View file

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