Skip to main content

IAudioSampleProviderMethods

Trait IAudioSampleProviderMethods 

Source
pub trait IAudioSampleProviderMethods: IAudioSampleProvider {
    // Provided methods
    fn invoke_sample_frames_available(self, sample_frame_count: impl Into<i32>) { ... }
    fn invoke_sample_frames_overflow(
        self,
        dropped_sample_frame_count: impl Into<i32>,
    ) { ... }
}

Provided Methods§

Source

fn invoke_sample_frames_available(self, sample_frame_count: impl Into<i32>)

InvokeSampleFramesAvailable(i32) overload

Source

fn invoke_sample_frames_overflow( self, dropped_sample_frame_count: impl Into<i32>, )

InvokeSampleFramesOverflow(i32) overload

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§

Source§

impl<__T: IAudioSampleProvider> IAudioSampleProviderMethods for __T

Available on crate feature unity_engine-experimental-audio-audiosampleprovider only.