pub struct MultiChannelStreamingIstft<T: Float + FftNum> { /* private fields */ }Expand description
Multi-channel streaming iSTFT processor with independent state per channel.
Implementations§
Source§impl<T: Float + FftNum + FromPrimitive + Debug> MultiChannelStreamingIstft<T>where
FftPlanner<T>: FftPlannerTrait<T>,
impl<T: Float + FftNum + FromPrimitive + Debug> MultiChannelStreamingIstft<T>where
FftPlanner<T>: FftPlannerTrait<T>,
Sourcepub fn new(config: StftConfig<T>, num_channels: usize) -> Self
pub fn new(config: StftConfig<T>, num_channels: usize) -> Self
Create a new multi-channel streaming iSTFT processor.
§Arguments
config- STFT configurationnum_channels- Number of channels
Sourcepub fn push_frames(&mut self, frames: &[&SpectrumFrame<T>]) -> Vec<Vec<T>>
pub fn push_frames(&mut self, frames: &[&SpectrumFrame<T>]) -> Vec<Vec<T>>
Sourcepub fn num_channels(&self) -> usize
pub fn num_channels(&self) -> usize
Get the number of channels.
Trait Implementations§
Auto Trait Implementations§
impl<T> Freeze for MultiChannelStreamingIstft<T>
impl<T> !RefUnwindSafe for MultiChannelStreamingIstft<T>
impl<T> Send for MultiChannelStreamingIstft<T>
impl<T> Sync for MultiChannelStreamingIstft<T>
impl<T> Unpin for MultiChannelStreamingIstft<T>where
T: Unpin,
impl<T> !UnwindSafe for MultiChannelStreamingIstft<T>
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more