Skip to main content

AudioMessageExt

Trait AudioMessageExt 

Source
pub(crate) trait AudioMessageExt {
    // Required method
    fn normalized_waveform(&self) -> Option<Vec<f32>>;
}
Expand description

Extension trait for audio messages.

Required Methods§

Source

fn normalized_waveform(&self) -> Option<Vec<f32>>

Get the normalized waveform in this audio message, if any.

A normalized waveform is a waveform containing only values between 0 and 1.

Implementations on Foreign Types§

Source§

impl AudioMessageExt for AudioMessageEventContent

Implementors§