[][src]Trait bae_rs::sample_format::Panner

pub trait Panner<SF, G> where
    SF: Panner<SF, G>,
    G: Sized
{ fn to_sample_format(s: SampleT, g: G) -> SF; }

Trait implementing the ability to pan a monophonic sample into a ployphonic sample. This is generic for the polyphonic type and the type that defines how it is panned. To see an implementation, see Stereo::to_sample_format.

Required methods

fn to_sample_format(s: SampleT, g: G) -> SF

Converts the monophonic sample into a polyphonic sample.

Loading content...

Implementors

Loading content...