diff --git a/Cargo.lock b/Cargo.lock index 4d140a2bb86a..6a0e8e6e6230 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -78,7 +78,7 @@ dependencies = [ [[package]] name = "audio_thread_priority" -version = "0.13.0" +version = "0.14.0" source = "registry+https://github.com/rust-lang/crates.io-index" dependencies = [ "cfg-if 0.1.6 (registry+https://github.com/rust-lang/crates.io-index)", @@ -117,7 +117,7 @@ dependencies = [ name = "audioipc-client" version = "0.4.0" dependencies = [ - "audio_thread_priority 0.13.0 (registry+https://github.com/rust-lang/crates.io-index)", + "audio_thread_priority 0.14.0 (registry+https://github.com/rust-lang/crates.io-index)", "audioipc 0.2.4", "cfg-if 0.1.6 (registry+https://github.com/rust-lang/crates.io-index)", "cubeb-backend 0.5.4 (registry+https://github.com/rust-lang/crates.io-index)", @@ -135,7 +135,7 @@ dependencies = [ name = "audioipc-server" version = "0.2.3" dependencies = [ - "audio_thread_priority 0.13.0 (registry+https://github.com/rust-lang/crates.io-index)", + "audio_thread_priority 0.14.0 (registry+https://github.com/rust-lang/crates.io-index)", "audioipc 0.2.4", "bytes 0.4.9 (registry+https://github.com/rust-lang/crates.io-index)", "cubeb-core 0.5.4 (registry+https://github.com/rust-lang/crates.io-index)", @@ -1243,7 +1243,7 @@ name = "gkrust-shared" version = "0.1.0" dependencies = [ "arrayvec 0.4.6 (registry+https://github.com/rust-lang/crates.io-index)", - "audio_thread_priority 0.13.0 (registry+https://github.com/rust-lang/crates.io-index)", + "audio_thread_priority 0.14.0 (registry+https://github.com/rust-lang/crates.io-index)", "audioipc-client 0.4.0", "audioipc-server 0.2.3", "authenticator 0.2.6 (registry+https://github.com/rust-lang/crates.io-index)", @@ -3846,7 +3846,7 @@ dependencies = [ "checksum arrayvec 0.4.6 (registry+https://github.com/rust-lang/crates.io-index)" = "2f0ef4a9820019a0c91d918918c93dc71d469f581a49b47ddc1d285d4270bbe2" "checksum atomic_refcell 0.1.0 (registry+https://github.com/rust-lang/crates.io-index)" = "fb2dcb6e6d35f20276943cc04bb98e538b348d525a04ac79c10021561d202f21" "checksum atty 0.2.11 (registry+https://github.com/rust-lang/crates.io-index)" = "9a7d5b8723950951411ee34d271d99dddcc2035a16ab25310ea2c8cfd4369652" -"checksum audio_thread_priority 0.13.0 (registry+https://github.com/rust-lang/crates.io-index)" = "6cff72a47c1869175a49a79bfeae945f4e68b4bb8567fb14d4c0de61800b4bd4" +"checksum audio_thread_priority 0.14.0 (registry+https://github.com/rust-lang/crates.io-index)" = "7877982e3b4ef1d5ed4039d2bb74c2fe08a3a6c4996b5b49f58e9016e3c2b762" "checksum authenticator 0.2.6 (registry+https://github.com/rust-lang/crates.io-index)" = "ec149e5d5d4caa2c9ead53a8ce1ea9c4204c388c65bf3b96c2d1dc0fcf4aeb66" "checksum autocfg 0.1.2 (registry+https://github.com/rust-lang/crates.io-index)" = "a6d640bee2da49f60a4068a7fae53acde8982514ab7bae8b8cea9e88cbcfd799" "checksum backtrace 0.3.9 (registry+https://github.com/rust-lang/crates.io-index)" = "89a47830402e9981c5c41223151efcced65a0510c13097c769cede7efb34782a" diff --git a/media/audioipc/client/Cargo.toml b/media/audioipc/client/Cargo.toml index c84183201205..61cfc9c46ab1 100644 --- a/media/audioipc/client/Cargo.toml +++ b/media/audioipc/client/Cargo.toml @@ -17,6 +17,6 @@ libc = "0.2" log = "0.4" tokio-core = "0.1" tokio-uds = "0.1.7" -audio_thread_priority = "0.13.0" +audio_thread_priority = "0.14.0" lazy_static = "1.2.0" cfg-if = "0.1.0" diff --git a/media/audioipc/server/Cargo.toml b/media/audioipc/server/Cargo.toml index b0f1b02448ba..f36131bb7dda 100644 --- a/media/audioipc/server/Cargo.toml +++ b/media/audioipc/server/Cargo.toml @@ -18,7 +18,7 @@ slab = "0.3.0" futures = "0.1.18" tokio-core = "0.1" tokio-uds = "0.1.7" -audio_thread_priority = "0.13.0" +audio_thread_priority = "0.14.0" [dependencies.error-chain] version = "0.11.0" diff --git a/third_party/rust/audio_thread_priority/.cargo-checksum.json b/third_party/rust/audio_thread_priority/.cargo-checksum.json index b5e7fb7159e6..7a497d5a2d19 100644 --- a/third_party/rust/audio_thread_priority/.cargo-checksum.json +++ b/third_party/rust/audio_thread_priority/.cargo-checksum.json @@ -1 +1 @@ -{"files":{"Cargo.toml":"e2309a985567d6ff4ef0e565f99b881db689d335fecb4ad4a8f801751cbf83d8","Makefile":"8c6b9e8afffb14ae03f9cd95bc7d6011c8b4fe01c474aef17360e3f0c4d202ad","README.md":"bcfa4948edf52fdacd485200a0c1c886a92232cc1931eeb4e1044050f46ec253","audio_thread_priority.h":"880889a154283a87cf84218cc4d6b2b9dd2c8fd09adc6d38f527b08ccd0c6168","generate_osx_bindings.sh":"06e4e03450f788ced18d31fff5660919e6f6ec1119ddace363ffeb82f0518a71","src/lib.rs":"69f428f49b61d2fa3ec5e1a04e5a07e876db2076d432f32e5710633d423b4db6","src/mach_sys.rs":"352560fcb9b41d877cff92e5b3b04d6dc68b1f30508ce4b9aed78940120a883e","src/rt_linux.rs":"2b3ee3b42690a050cd50f5b4056160bd4e7241b53409dab188511e6647b8b956","src/rt_mach.rs":"353c768775e1ac7daf9464d0a63ecc002f1e317ce00a835b63900bc036bedda2","src/rt_win.rs":"41fcdb22a9e7f5b6b389bb0791324bccbaecf8523dbef62b224a81d37e780039"},"package":"6cff72a47c1869175a49a79bfeae945f4e68b4bb8567fb14d4c0de61800b4bd4"} \ No newline at end of file +{"files":{"Cargo.toml":"10c60cb364a7cad185590c6ca242413d11f4aa345d74c4ab2058f4a08543f626","Makefile":"8c6b9e8afffb14ae03f9cd95bc7d6011c8b4fe01c474aef17360e3f0c4d202ad","README.md":"bcfa4948edf52fdacd485200a0c1c886a92232cc1931eeb4e1044050f46ec253","audio_thread_priority.h":"880889a154283a87cf84218cc4d6b2b9dd2c8fd09adc6d38f527b08ccd0c6168","generate_osx_bindings.sh":"06e4e03450f788ced18d31fff5660919e6f6ec1119ddace363ffeb82f0518a71","src/lib.rs":"d1e04bc2901472ce98be1a79b6844b49e38598eda3e4f8c0e7b08c5b33247375","src/mach_sys.rs":"352560fcb9b41d877cff92e5b3b04d6dc68b1f30508ce4b9aed78940120a883e","src/rt_linux.rs":"2b3ee3b42690a050cd50f5b4056160bd4e7241b53409dab188511e6647b8b956","src/rt_mach.rs":"353c768775e1ac7daf9464d0a63ecc002f1e317ce00a835b63900bc036bedda2","src/rt_win.rs":"41fcdb22a9e7f5b6b389bb0791324bccbaecf8523dbef62b224a81d37e780039"},"package":"7877982e3b4ef1d5ed4039d2bb74c2fe08a3a6c4996b5b49f58e9016e3c2b762"} \ No newline at end of file diff --git a/third_party/rust/audio_thread_priority/Cargo.toml b/third_party/rust/audio_thread_priority/Cargo.toml index 5922ba47d515..113482b36c45 100644 --- a/third_party/rust/audio_thread_priority/Cargo.toml +++ b/third_party/rust/audio_thread_priority/Cargo.toml @@ -12,7 +12,7 @@ [package] name = "audio_thread_priority" -version = "0.13.0" +version = "0.14.0" authors = ["Paul Adenot "] description = "Bump a thread to real-time priority, for audio work, on Linux, Windows and macOS" license = "MPL-2.0" diff --git a/third_party/rust/audio_thread_priority/src/lib.rs b/third_party/rust/audio_thread_priority/src/lib.rs index 90c2f0d44066..8c78df417a12 100644 --- a/third_party/rust/audio_thread_priority/src/lib.rs +++ b/third_party/rust/audio_thread_priority/src/lib.rs @@ -32,7 +32,7 @@ cfg_if! { use rt_linux::promote_current_thread_to_real_time_internal; use rt_linux::demote_current_thread_from_real_time_internal; use rt_linux::RtPriorityHandleInternal; - } else if #[cfg(target_os = "android")] { + } else { pub struct RtPriorityHandleInternal {} pub fn promote_current_thread_to_real_time_internal(_: u32, audio_samplerate_hz: u32) -> Result { if audio_samplerate_hz == 0 { diff --git a/toolkit/library/rust/shared/Cargo.toml b/toolkit/library/rust/shared/Cargo.toml index be3687ff6919..0151edfa1f90 100644 --- a/toolkit/library/rust/shared/Cargo.toml +++ b/toolkit/library/rust/shared/Cargo.toml @@ -39,7 +39,7 @@ bitsdownload = { path = "../../../components/bitsdownload", optional = true } storage = { path = "../../../../storage/rust" } bookmark_sync = { path = "../../../components/places/bookmark_sync", optional = true } shift_or_euc_c = "0.1.0" -audio_thread_priority = "0.13.0" +audio_thread_priority = "0.14.0" [build-dependencies] rustc_version = "0.2"