Skip to content

Commit 471735a

Browse files
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
1 parent c1ae860 commit 471735a

3 files changed

Lines changed: 13 additions & 1 deletion

File tree

Cargo.lock

Lines changed: 10 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

playback/Cargo.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ path = "../metadata"
2121
version = "0.6.0-dev"
2222

2323
[dependencies]
24+
atomic-shim = "0.2.0"
2425
futures-util = "0.3"
2526
log = "0.4"
2627
parking_lot = { version = "0.12", features = ["deadlock_detection"] }

playback/src/mixer/softmixer.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
use std::sync::atomic::{AtomicU64, Ordering};
1+
use atomic_shim::AtomicU64;
2+
use std::sync::atomic::Ordering;
23
use std::sync::Arc;
34

45
use super::VolumeGetter;

0 commit comments

Comments
 (0)