Function rotary::io::translate_remaining[][src]

pub fn translate_remaining<I, O, T, U>(from: I, to: O) where
    U: Translate<T>,
    I: ReadBuf + Channels<T>,
    O: WriteBuf + ChannelsMut<U>,
    T: Copy

Translate the shared remaining frames from from into to.

Samples will be translated through the Translate trait.

This will translate the minimum number of frames between ReadBuf::remaining and WriteBuf::remaining_mut, and advance the provided buffers appropriately using ReadBuf::advance and WriteBuf::advance_mut.