diff --git a/Cargo.lock b/Cargo.lock index 53db48fe..dccb2e1e 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -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", ] diff --git a/Cargo.toml b/Cargo.toml index 88491e5c..5aa270e9 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -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 } diff --git a/plugins/spectral_compressor/Cargo.toml b/plugins/spectral_compressor/Cargo.toml index 428e8415..ef6095c4 100644 --- a/plugins/spectral_compressor/Cargo.toml +++ b/plugins/spectral_compressor/Cargo.toml @@ -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" diff --git a/plugins/spectral_compressor/src/main.rs b/plugins/spectral_compressor/src/main.rs new file mode 100644 index 00000000..781caa92 --- /dev/null +++ b/plugins/spectral_compressor/src/main.rs @@ -0,0 +1,3 @@ +fn main() { + nih_plug::nih_export_standalone::(); +}