X-Git-Url: https://git.nihav.org/?a=blobdiff_plain;f=nihav-commonfmt%2Fsrc%2Fcodecs%2Fatrac3.rs;fp=nihav-commonfmt%2Fsrc%2Fcodecs%2Fatrac3.rs;h=184b317352032a47fcbfdaaac303deb9c5c9864b;hb=9e78289cc98dddb8f6d6ea4fc4c3655636e31a72;hp=eda269a793407b233af4700d5bdd6a1f61fc8945;hpb=3c69ce1b2da6d6c9d1fa9962616f4e4e8d1d06df;p=nihav.git diff --git a/nihav-commonfmt/src/codecs/atrac3.rs b/nihav-commonfmt/src/codecs/atrac3.rs index eda269a..184b317 100644 --- a/nihav-commonfmt/src/codecs/atrac3.rs +++ b/nihav-commonfmt/src/codecs/atrac3.rs @@ -4,7 +4,6 @@ use nihav_core::codecs::*; use nihav_core::io::bitreader::*; use nihav_core::io::byteio::*; use nihav_core::io::codebook::*; -use nihav_core::dsp::fft::FFTMode; use nihav_core::dsp::mdct::IMDCT; use std::f32::consts; @@ -288,7 +287,7 @@ impl DSP { } Self { - imdct: IMDCT::new(FFTMode::SplitRadix, 512, false), + imdct: IMDCT::new(512, false), tmp: [0.0; ATRAC3_FRAME_SIZE + 64], gain_tab, gain_tab2, window, }