audiofx/audiornnoise: Update nnnoiseless dependency to 0.3

This commit is contained in:
Sebastian Dröge 2020-08-19 18:00:39 +03:00
parent 60656c713d
commit c716957a0d
2 changed files with 2 additions and 2 deletions

View file

@ -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"

View file

@ -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]>,
}