pub fn flush(&mut self, output: &mut frame::Audio) -> Result<Option<Delay>, Error> {
        output.set_rate(self.output.rate);

        unsafe {
            match swr_convert_frame(self.as_mut_ptr(), output.as_mut_ptr(), ptr::null()) {
                0 => Ok(self.delay()),

                e => Err(Error::from(e)),
            }
        }
    }
/// Convert one of the remaining internal frames.
///
/// When there are no more internal frames `Ok(None)` will be returned.
Convert one of the remaining internal frames.
When there are no more internal frames `Ok(None)` will be returned.
Convert one of the remaining internal frames . When there are no more internal frames ` Ok ( None ) ` will be returned .
pub fn flush(&mut self, output: &mut frame::Audio) -> Result<Option<Delay>, Error> {
        output.set_rate(self.output.rate);
        unsafe {
            match swr_convert_frame(self.as_mut_ptr(), output.as_mut_ptr(), ptr::null()) {
                0 => Ok(self.delay()),
                e => Err(Error::from(e)),
            }
        }
    }
pub fn flush ( & mut self , output : & mut frame :: Audio ) -> Result < Option < Delay > , Error > { output . set_rate ( self . output . rate ) ; unsafe { match swr_convert_frame ( self . as_mut_ptr ( ) , output . as_mut_ptr ( ) , ptr :: null ( ) ) { 0 => Ok ( self . delay ( ) ) , e => Err ( Error :: from ( e ) ) , } } }
Convert one of the remaining internal frames.
Convert one of the remaining internal frames .
&mut self
output
&mut frame::Audio
&mut self
output
&mut frame::Audio