pub trait AudioVisualizerExtManual: IsA<AudioVisualizer> + 'static {
// Provided methods
fn req_spf(&self) -> u32 { ... }
fn set_req_spf(&self, spf: u32, token: &AudioVisualizerSetupToken<'_>) { ... }
fn audio_info(&self) -> AudioInfo { ... }
fn video_info(&self) -> VideoInfo { ... }
}
Provided Methods§
Sourcefn req_spf(&self) -> u32
fn req_spf(&self) -> u32
Returns the number of samples per frame required before calling the render method
Sourcefn set_req_spf(&self, spf: u32, token: &AudioVisualizerSetupToken<'_>)
fn set_req_spf(&self, spf: u32, token: &AudioVisualizerSetupToken<'_>)
Modify the request of samples per frame required to be present in buffer before calling the render method
fn audio_info(&self) -> AudioInfo
fn video_info(&self) -> VideoInfo
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.