symphonia_bundle_mp3

Type Alias Mp3Decoder

Source
pub type Mp3Decoder = MpaDecoder;
👎Deprecated: use symphonia_bundle_mp3::MpaDecoder instead

Aliased Type§

struct Mp3Decoder { /* private fields */ }

Trait Implementations

Source§

impl Decoder for MpaDecoder

Source§

fn try_new(params: &CodecParameters, _: &DecoderOptions) -> Result<Self>

Attempts to instantiates a Decoder using the provided CodecParameters.
Source§

fn supported_codecs() -> &'static [CodecDescriptor]

Gets a list of codec descriptors for the codecs supported by this Decoder.
Source§

fn codec_params(&self) -> &CodecParameters

Gets a reference to an updated set of CodecParameters based on the parameters the Decoder was instantiated with.
Source§

fn reset(&mut self)

Reset the Decoder. Read more
Source§

fn decode(&mut self, packet: &Packet) -> Result<AudioBufferRef<'_>>

Decodes a Packet of audio data and returns a copy-on-write generic (untyped) audio buffer of the decoded audio. Read more
Source§

fn finalize(&mut self) -> FinalizeResult

Optionally, obtain post-decode information such as the verification status.
Source§

fn last_decoded(&self) -> AudioBufferRef<'_>

Allows read access to the internal audio buffer. Read more