Trait webrtc_media::audio::buffer::layout::BufferLayout

source ·
pub trait BufferLayout: Sized + Sealed {
    // Required method
    fn index_of(info: &BufferInfo<Self>, channel: usize, frame: usize) -> usize;
}

Required Methods§

source

fn index_of(info: &BufferInfo<Self>, channel: usize, frame: usize) -> usize

Object Safety§

This trait is not object safe.

Implementors§