/// Stop the audio clock in the buffer.
/// returns true if the streaming was stopped.
Stop the audio clock in the buffer.
returns true if the streaming was stopped.
Stop the audio clock in the buffer . returns true if the streaming was stopped .
pub(crate) fn stop(&mut self) -> Result<bool> {
        if self.format.is_none() {
            return Err(Error::InvalidState);
        }
        let start_time = self.start_time.take();
        Ok(start_time.is_some())
    }
pub ( crate ) fn stop ( & mut self ) -> Result < bool > { if self . format . is_none ( ) { return Err ( Error :: InvalidState ) ; } let start_time = self . start_time . take ( ) ; Ok ( start_time . is_some ( ) ) }
Stop the audio clock in the buffer.
Stop the audio clock in the buffer .
&mut self