gstreamer_pbutils::audio_visualizer

Trait AudioVisualizerExtManual

Source
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§

Source

fn req_spf(&self) -> u32

Returns the number of samples per frame required before calling the render method

Source

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

Source

fn audio_info(&self) -> AudioInfo

Source

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.

Implementors§