pub struct LimiterProcessor { /* private fields */ }Expand description
Limiter lookahead dengan deteksi ter-link antar channel.
Satu LookaheadDetector dipakai bersama semua channel: gain reduction
ditentukan oleh puncak gabungan, sehingga keseimbangan stereo tetap terjaga
saat limiting berat (stereo-linked limiting).
Implementations§
Trait Implementations§
Source§impl AudioProcessor for LimiterProcessor
impl AudioProcessor for LimiterProcessor
fn prepare(&mut self, spec: AudioSpec) -> Result<(), EngineError>
fn process(&mut self, block: &mut AudioBlock<'_>) -> Result<(), EngineError>
fn reset(&mut self)
fn latency_samples(&self) -> usize
Source§fn flush(&mut self, block: &mut AudioBlock<'_>) -> Result<usize, EngineError>
fn flush(&mut self, block: &mut AudioBlock<'_>) -> Result<usize, EngineError>
Mengeluarkan sisa sampel internal (misal tail lookahead limiter) setelah input habis.
Mengembalikan jumlah frame valid yang ditulis ke dalam
block.Auto Trait Implementations§
impl Freeze for LimiterProcessor
impl RefUnwindSafe for LimiterProcessor
impl Send for LimiterProcessor
impl Sync for LimiterProcessor
impl Unpin for LimiterProcessor
impl UnsafeUnpin for LimiterProcessor
impl UnwindSafe for LimiterProcessor
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