pub trait AudioVisualizerExtManual: Sealed + IsA<AudioVisualizer> + IsA<Element> + '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
Object Safety§
This trait is not object safe.