/// Decodes audio from an input stream.
///
/// [`FloatWaveform`][crate::FloatWaveform] will take ownership of the stream
/// and read it until the end. Therefore, you cannot provide an infinte-length
/// stream.
Decodes audio from an input stream.
[`FloatWaveform`][crate::FloatWaveform] will take ownership of the stream
and read it until the end. Therefore, you cannot provide an infinte-length
stream.
Decodes audio from an input stream . [ ` FloatWaveform ` ] [ crate :: FloatWaveform ] will take ownership of the stream and read it until the end . Therefore you cannot provide an infinte - length stream .
pub fn from_encoded_stream<R: 'static + Read>(
        encoded_stream: R,
        decode_args: DecodeArgs,
    ) -> Result<Self, Error> {
        Self::from_encoded_stream_with_hint(
            encoded_stream,
            decode_args,
            DEFAULT_FILE_EXTENSION,
            DEFAULT_MIME_TYPE,
        )
    }
pub fn from_encoded_stream < R : ' static + Read > ( encoded_stream : R , decode_args : DecodeArgs , ) -> Result < Self , Error > { Self :: from_encoded_stream_with_hint ( encoded_stream , decode_args , DEFAULT_FILE_EXTENSION , DEFAULT_MIME_TYPE , ) }
Decodes audio from an input stream.
Decodes audio from an input stream .
encoded_stream
R
decode_args
DecodeArgs