diff options
author | Sebastian Dröge <sebastian@centricular.com> | 2021-03-26 19:35:35 +0300 |
---|---|---|
committer | Sebastian Dröge <sebastian@centricular.com> | 2021-03-26 22:25:23 +0300 |
commit | 81f9d334e81d337bd93cd14a3ec8f2cb7783ba3d (patch) | |
tree | d05396daed5670d6bf0d2f29cac9d3e390c96459 /audio/audiofx/Cargo.toml | |
parent | 65d625a4eb071963d661316c68bca651245bec44 (diff) |
audiofx: Use AtomicRefCell for protecting the element state
It's only accessed from the streaming thread and in PAUSED->READY after
the streaming thread was shut down, so it's already guaranteed that only
a single thread can access it at any time.
Diffstat (limited to 'audio/audiofx/Cargo.toml')
-rw-r--r-- | audio/audiofx/Cargo.toml | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/audio/audiofx/Cargo.toml b/audio/audiofx/Cargo.toml index 8be71eb9d..d98fb2e6d 100644 --- a/audio/audiofx/Cargo.toml +++ b/audio/audiofx/Cargo.toml @@ -18,6 +18,7 @@ once_cell = "1.0" ebur128 = "0.1" nnnoiseless = { version = "0.3", default-features = false } smallvec = "1" +atomic_refcell = "0.1" [lib] name = "gstrsaudiofx" |