Struct Native Processor Config V1
#[repr(C)]pub struct NativeProcessorConfigV1 {
pub version: u32,
pub maximum_frames: u32,
pub maximum_events: u32,
pub maximum_output_events: u32,
pub bus_count: u32,
pub reserved: u32,
pub sample_rate: f64,
pub buses: [NativeBusLayoutV1; 9],
}Expand description
The processor, event and transport records the table shares with
RavetNativeProcessor.h, RavetNativeEvent.h and RavetNativeTransport.h.
Fixed configuration: version=1, reserved=0, bus count 1..=9; main first.
Rate/capacities/layouts follow NativeAudioAdapter limits. Unused buses are zero.
Fields§
§version: u32§maximum_frames: u32§maximum_events: u32§maximum_output_events: u32§bus_count: u32§reserved: u32§sample_rate: f64§buses: [NativeBusLayoutV1; 9]Implementations§
§impl NativeProcessorConfigV1
impl NativeProcessorConfigV1
pub fn to_configuration(self) -> Option<ProcessConfig>
pub fn to_configuration(self) -> Option<ProcessConfig>
Validate the complete native configuration without mutating a processor.
Trait Implementations§
§impl Clone for NativeProcessorConfigV1
impl Clone for NativeProcessorConfigV1
§fn clone(&self) -> NativeProcessorConfigV1
fn clone(&self) -> NativeProcessorConfigV1
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 NativeProcessorConfigV1
§impl Debug for NativeProcessorConfigV1
impl Debug for NativeProcessorConfigV1
§impl Default for NativeProcessorConfigV1
impl Default for NativeProcessorConfigV1
§fn default() -> NativeProcessorConfigV1
fn default() -> NativeProcessorConfigV1
Returns the “default value” for a type. Read more
§impl PartialEq for NativeProcessorConfigV1
impl PartialEq for NativeProcessorConfigV1
impl StructuralPartialEq for NativeProcessorConfigV1
Auto Trait Implementations§
impl Freeze for NativeProcessorConfigV1
impl RefUnwindSafe for NativeProcessorConfigV1
impl Send for NativeProcessorConfigV1
impl Sync for NativeProcessorConfigV1
impl Unpin for NativeProcessorConfigV1
impl UnsafeUnpin for NativeProcessorConfigV1
impl UnwindSafe for NativeProcessorConfigV1
Blanket Implementations§
impl<T> AutoreleaseSafe for T
§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