Skip to main content

Module converter

Module converter 

Source

Structs§

ConversionStats
FrameReblocker
Fixed-capacity ring-buffered frame reblocker slicing arbitrary normalized chunks into exact block_frames blocks for CspaMixer with 0 heap allocations in steady state.
InputNormalizer
Per-input decoding, channel mapping, and stateful resampling before CspaMixer. Uses no heap allocations in steady state.
OutputConverter
Preallocated output converter running off acquisition threads.

Enums§

ChannelMappingKind

Constants§

INPUT_NORMALIZER_HALF_WING_TAPS
INPUT_NORMALIZER_POLYPHASE_STEPS
INPUT_NORMALIZER_TAPS
MAX_RESAMPLER_HALF_WING_TAPS

Functions§

evaluate_format_change
Evaluate mid-stream native format transition policy (on_format_change="adapt" | "fail").
resolve_mixer_working_format
Resolve order-independent CspaMixer F32 working format across native input streams. Returns (working_format, any_input_resampled).
tpdf_dither_lsb
Deterministic stateless SplitMix64 TPDF dither in [-1.0, +1.0] LSB.
validate_channel_mapping