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
path: root/audio
diff options
context:
space:
mode:
authorSebastian Dröge <sebastian@centricular.com>2020-08-19 18:00:39 +0300
committerSebastian Dröge <sebastian@centricular.com>2020-08-19 18:00:39 +0300
commitc716957a0d6f3db6eeebdafc9da98e3fcdc9b5b5 (patch)
tree5b036988253bba90d65a3a589fcaa787cab546aa /audio
parent60656c713d405dd93edc7184dd345230ea0eed79 (diff)
audiofx/audiornnoise: Update nnnoiseless dependency to 0.3
Diffstat (limited to 'audio')
-rw-r--r--audio/audiofx/Cargo.toml2
-rw-r--r--audio/audiofx/src/audiornnoise.rs2
2 files changed, 2 insertions, 2 deletions
diff --git a/audio/audiofx/Cargo.toml b/audio/audiofx/Cargo.toml
index 601cd48f4..d1c8ae8e1 100644
--- a/audio/audiofx/Cargo.toml
+++ b/audio/audiofx/Cargo.toml
@@ -16,7 +16,7 @@ byte-slice-cast = "0.3"
num-traits = "0.2"
lazy_static = "1.0"
ebur128 = "0.1"
-nnnoiseless = "0.2"
+nnnoiseless = { version = "0.3", default-features = false }
[lib]
name = "gstrsaudiofx"
diff --git a/audio/audiofx/src/audiornnoise.rs b/audio/audiofx/src/audiornnoise.rs
index 9da5cb331..1d8f2208e 100644
--- a/audio/audiofx/src/audiornnoise.rs
+++ b/audio/audiofx/src/audiornnoise.rs
@@ -29,7 +29,7 @@ lazy_static! {
const FRAME_SIZE: usize = DenoiseState::FRAME_SIZE;
struct ChannelDenoiser {
- denoiser: Box<DenoiseState>,
+ denoiser: Box<DenoiseState<'static>>,
frame_chunk: Box<[f32; FRAME_SIZE]>,
out_chunk: Box<[f32; FRAME_SIZE]>,
}