Function rotary::utils::translate[][src]

pub fn translate<I, O, U, T>(from: I, to: O) where
    I: Buf<U>,
    O: BufMut<T>,
    T: Sample,
    U: Sample,
    T: Translate<U>, 

Translate the content of one buffer from into the buffer specified by to.

Only the common count of channels will be copied.