Struct Converted Read Ahead Options
pub struct ConvertedReadAheadOptions {
pub output_rate: u32,
pub conversion: PlaybackConversion,
pub maximum_source_frames: usize,
pub maximum_output_frames: u64,
pub source_batch_frames: usize,
pub conversion_batch_frames: usize,
}Expand description
Explicit worker profile, validated before source reads or factory calls. Copy/floating Sinc duration is capped at 16,777,216 original frames. Explicit IntegerSinc permits caller usize source bounds with checked retained duration at most u64::MAX-65536, leaving largest automatic callback terminal headroom. Reader/container limits remain separate; source/conversion batches are 1..4096. Source/converter/output arrays are capped at 32MiB. Encoded readers and the separately prepared queue retain their own limits. Copy requires equal rates; Sinc retains causal (taps-1)/2 source-sample delay and finite tail, with even 16..256 taps and ratio 1/16..16.
Fields§
§output_rate: u32§conversion: PlaybackConversion§maximum_source_frames: usize§maximum_output_frames: u64§source_batch_frames: usize§conversion_batch_frames: usizeTrait Implementations§
§impl Clone for ConvertedReadAheadOptions
impl Clone for ConvertedReadAheadOptions
§fn clone(&self) -> ConvertedReadAheadOptions
fn clone(&self) -> ConvertedReadAheadOptions
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · §fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for ConvertedReadAheadOptions
§impl Debug for ConvertedReadAheadOptions
impl Debug for ConvertedReadAheadOptions
impl Eq for ConvertedReadAheadOptions
§impl PartialEq for ConvertedReadAheadOptions
impl PartialEq for ConvertedReadAheadOptions
impl StructuralPartialEq for ConvertedReadAheadOptions
Auto Trait Implementations§
impl Freeze for ConvertedReadAheadOptions
impl RefUnwindSafe for ConvertedReadAheadOptions
impl Send for ConvertedReadAheadOptions
impl Sync for ConvertedReadAheadOptions
impl Unpin for ConvertedReadAheadOptions
impl UnsafeUnpin for ConvertedReadAheadOptions
impl UnwindSafe for ConvertedReadAheadOptions
Blanket Implementations§
§impl<T> BorrowMut<T> for T
impl<T> BorrowMut<T> for T
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more