Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.freedesktop.org/gstreamer/gst-plugins-rs.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastian Dröge <sebastian@centricular.com>2021-03-26 19:35:35 +0300
committerSebastian Dröge <sebastian@centricular.com>2021-03-26 22:25:23 +0300
commit81f9d334e81d337bd93cd14a3ec8f2cb7783ba3d (patch)
treed05396daed5670d6bf0d2f29cac9d3e390c96459 /audio/audiofx/Cargo.toml
parent65d625a4eb071963d661316c68bca651245bec44 (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.toml1
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"