disable jack support
Some checks failed
Build legacy Nix package on Ubuntu / build (push) Has been cancelled

This commit is contained in:
Max Känner 2025-01-12 22:05:05 +01:00
parent 00bcaf7685
commit 176bb4ce2b
3 changed files with 3 additions and 63 deletions

62
Cargo.lock generated
View File

@ -233,7 +233,7 @@ checksum = "0b023947811758c97c59bf9d1c188fd619ad4718dcaa767947df1cadb14f39f4"
dependencies = [ dependencies = [
"glob", "glob",
"libc", "libc",
"libloading 0.8.6", "libloading",
] ]
[[package]] [[package]]
@ -325,7 +325,6 @@ dependencies = [
"core-foundation-sys", "core-foundation-sys",
"coreaudio-rs", "coreaudio-rs",
"dasp_sample", "dasp_sample",
"jack",
"jni", "jni",
"js-sys", "js-sys",
"libc", "libc",
@ -461,33 +460,6 @@ dependencies = [
"either", "either",
] ]
[[package]]
name = "jack"
version = "0.11.4"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "0e5a18a3c2aefb354fb77111ade228b20267bdc779de84e7a4ccf7ea96b9a6cd"
dependencies = [
"bitflags 1.3.2",
"jack-sys",
"lazy_static",
"libc",
"log",
]
[[package]]
name = "jack-sys"
version = "0.5.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "6013b7619b95a22b576dfb43296faa4ecbe40abbdb97dfd22ead520775fc86ab"
dependencies = [
"bitflags 1.3.2",
"lazy_static",
"libc",
"libloading 0.7.4",
"log",
"pkg-config",
]
[[package]] [[package]]
name = "jni" name = "jni"
version = "0.21.1" version = "0.21.1"
@ -541,16 +513,6 @@ version = "0.2.169"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "b5aba8db14291edd000dfcc4d620c7ebfb122c613afb886ca8803fa4e128a20a" checksum = "b5aba8db14291edd000dfcc4d620c7ebfb122c613afb886ca8803fa4e128a20a"
[[package]]
name = "libloading"
version = "0.7.4"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "b67380fd3b2fbe7527a606e18729d21c6f3951633d0500574c4dc22d2d638b9f"
dependencies = [
"cfg-if",
"winapi",
]
[[package]] [[package]]
name = "libloading" name = "libloading"
version = "0.8.6" version = "0.8.6"
@ -1121,22 +1083,6 @@ dependencies = [
"wasm-bindgen", "wasm-bindgen",
] ]
[[package]]
name = "winapi"
version = "0.3.9"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "5c839a674fcd7a98952e593242ea400abe93992746761e38641405d28b00f419"
dependencies = [
"winapi-i686-pc-windows-gnu",
"winapi-x86_64-pc-windows-gnu",
]
[[package]]
name = "winapi-i686-pc-windows-gnu"
version = "0.4.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "ac3b87c63620426dd9b991e5ce0329eff545bccbbb34f3be09ff6fb6ab51b7b6"
[[package]] [[package]]
name = "winapi-util" name = "winapi-util"
version = "0.1.9" version = "0.1.9"
@ -1146,12 +1092,6 @@ dependencies = [
"windows-sys 0.59.0", "windows-sys 0.59.0",
] ]
[[package]]
name = "winapi-x86_64-pc-windows-gnu"
version = "0.4.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "712e227841d057c1ee1cd2fb22fa7e5a5461ae8e48fa2ca79ec42cfc1931183f"
[[package]] [[package]]
name = "windows" name = "windows"
version = "0.54.0" version = "0.54.0"

View File

@ -12,7 +12,7 @@ env_logger = "0.11"
log = "0.4" log = "0.4"
color-eyre = "0.6" color-eyre = "0.6"
cpal = { version = "0.15", features = ["jack"] } cpal = { version = "0.15", features = [] }
realfft = "3.4" realfft = "3.4"
bytemuck = { version = "1.21", features = ["derive"] } bytemuck = { version = "1.21", features = ["derive"] }

View File

@ -19,7 +19,7 @@ fn main() -> color_eyre::Result<()> {
let mut hosts = cpal::platform::available_hosts(); let mut hosts = cpal::platform::available_hosts();
hosts.sort_unstable_by_key(|host| match host { hosts.sort_unstable_by_key(|host| match host {
HostId::Jack => 0, // HostId::Jack => 0,
HostId::Alsa => 1, HostId::Alsa => 1,
}); });
let host_id = hosts[0]; let host_id = hosts[0];