pub fn extend<G: Frame, M: Stream<G>>(&mut self, stream: M)
    where
        F::Chan: From<G::Chan>,
    {
        let mut temp_move = Self::with_frames::<[F; 0], f64>(0.0, []);
        swap(self, &mut temp_move);
        *self = temp_move.extend_internal(stream);
    }
/// Extend the audio buffer with all of the audio from a stream.
///
/// # Notes
/// Do not call repeatedly on a stream with a differnt sample rate.  It will
/// create extra "partial" samples.
///
/// # Panics
/// When an infinite stream is passed in.
Extend the audio buffer with all of the audio from a stream.
Extend the audio buffer with all of the audio from a stream .
pub fn extend<G: Frame, M: Stream<G>>(&mut self, stream: M)
    where
        F::Chan: From<G::Chan>,
    {
        let mut temp_move = Self::with_frames::<[F; 0], f64>(0.0, []);
        swap(self, &mut temp_move);
        *self = temp_move.extend_internal(stream);
    }
pub fn extend < G : Frame , M : Stream < G > > ( & mut self , stream : M ) where F :: Chan : From < G :: Chan > , { let mut temp_move = Self :: with_frames :: < [ F ; 0 ] , f64 > ( 0.0 , [ ] ) ; swap ( self , & mut temp_move ) ; * self = temp_move . extend_internal ( stream ) ; }
Extend the audio buffer with all of the audio from a stream.
Extend the audio buffer with all of the audio from a stream .
&mut self
stream
M
&mut self
stream
M
notes
Do not call repeatedly on a stream with a differnt sample rate.  It will
create extra "partial" samples.
Do not call repeatedly on a stream with a differnt sample rate . It will create extra " partial " samples .
panics
When an infinite stream is passed in.
When an infinite stream is passed in .