AUDIO
Source snapshot · 12 October 2026

API reference / ravet_gain_native

Crate ravet_gain_native 

Expand description

Native ABI for the public gain reference, sharing its portable DSP and codec.

Handles are exclusively owned by the serialized processing/lifecycle caller. Prepare/teardown allocate; normal processing/reset/restore do not. Native pointers must obey include/RavetGain.h; malformed foreign pointers cannot be made safe by null checks. Unwinding panics are contained, without a real-time guarantee for exceptional handlers. Prepared planar processing uses ravet-native, including its shared legacy parameter decoder; these product C symbols/state remain specific to Gain.

Structs§

GainHandle
GainHandle64
NativeEvent
Existing physical global parameter record, also matching the Gain reference C event layout. Kept separate from the tagged v1 performance record.
NativeMeterReading
C-compatible one-channel meter record, with native f64 levels and explicit diagnostic/count words. Reserved is always zero.
NativeMeters
Complete last successful nonempty block’s mono/stereo input/output meters. Unused channels are zero. Serialized DSP ownership applies; this record is not an audio-to-UI synchronization primitive.
NativeProgramInfo

Functions§

ravet_native_audio_state_v1
ravet_native_cached_parameters_v1
ravet_native_parameters_v1
ravet_native_processor_v1
ravet_native_state_v1
ravet_native_telemetry_v1