Skip to content

Commit

Permalink
Update softmixer.rs to use AtomicU64 from atomic_shim, so that libres…
Browse files Browse the repository at this point in the history
…pot 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
  • Loading branch information
humaita-github authored Jan 31, 2025
1 parent c1ae860 commit 471735a
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 1 deletion.
10 changes: 10 additions & 0 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions playback/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ path = "../metadata"
version = "0.6.0-dev"

[dependencies]
atomic-shim = "0.2.0"
futures-util = "0.3"
log = "0.4"
parking_lot = { version = "0.12", features = ["deadlock_detection"] }
Expand Down
3 changes: 2 additions & 1 deletion playback/src/mixer/softmixer.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
use std::sync::atomic::{AtomicU64, Ordering};
use atomic_shim::AtomicU64;
use std::sync::atomic::Ordering;
use std::sync::Arc;

use super::VolumeGetter;
Expand Down

0 comments on commit 471735a

Please sign in to comment.