mirror of
https://github.com/librespot-org/librespot.git
synced 2025-10-03 09:49:31 +02:00
Update softmixer.rs to use AtomicU64 from atomic_shim, so that librespot works with MIPS and MIPSEL (#1461)
* Update softmixer.rs Use AtomicU64 from atomic_shim, so that librespot works with MIPS and MIPSEL * Update Cargo.toml with atomic-shim dependency Added atomic-shim dependency * Update Cargo.lock with atomic-shim package Added atomic-shim package
This commit is contained in:
parent
c1ae8608aa
commit
471735aa5a
3 changed files with 13 additions and 1 deletions
10
Cargo.lock
generated
10
Cargo.lock
generated
|
@ -169,6 +169,15 @@ dependencies = [
|
||||||
"syn 2.0.96",
|
"syn 2.0.96",
|
||||||
]
|
]
|
||||||
|
|
||||||
|
[[package]]
|
||||||
|
name = "atomic-shim"
|
||||||
|
version = "0.2.0"
|
||||||
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||||
|
checksum = "67cd4b51d303cf3501c301e8125df442128d3c6d7c69f71b27833d253de47e77"
|
||||||
|
dependencies = [
|
||||||
|
"crossbeam-utils",
|
||||||
|
]
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "atomic-waker"
|
name = "atomic-waker"
|
||||||
version = "1.1.2"
|
version = "1.1.2"
|
||||||
|
@ -2133,6 +2142,7 @@ name = "librespot-playback"
|
||||||
version = "0.6.0-dev"
|
version = "0.6.0-dev"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"alsa",
|
"alsa",
|
||||||
|
"atomic-shim",
|
||||||
"cpal",
|
"cpal",
|
||||||
"futures-util",
|
"futures-util",
|
||||||
"glib",
|
"glib",
|
||||||
|
|
|
@ -21,6 +21,7 @@ path = "../metadata"
|
||||||
version = "0.6.0-dev"
|
version = "0.6.0-dev"
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
|
atomic-shim = "0.2.0"
|
||||||
futures-util = "0.3"
|
futures-util = "0.3"
|
||||||
log = "0.4"
|
log = "0.4"
|
||||||
parking_lot = { version = "0.12", features = ["deadlock_detection"] }
|
parking_lot = { version = "0.12", features = ["deadlock_detection"] }
|
||||||
|
|
|
@ -1,4 +1,5 @@
|
||||||
use std::sync::atomic::{AtomicU64, Ordering};
|
use atomic_shim::AtomicU64;
|
||||||
|
use std::sync::atomic::Ordering;
|
||||||
use std::sync::Arc;
|
use std::sync::Arc;
|
||||||
|
|
||||||
use super::VolumeGetter;
|
use super::VolumeGetter;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue