[][src]Struct fdk_aac::dec::Decoder

pub struct Decoder { /* fields omitted */ }

Methods

impl Decoder[src]

pub fn new(transport: Transport) -> Self[src]

pub fn config_raw(
    &mut self,
    audio_specic_config: &[u8]
) -> Result<(), DecoderError>
[src]

pub fn set_min_output_channels(
    &mut self,
    channels: usize
) -> Result<(), DecoderError>
[src]

pub fn set_max_output_channels(
    &mut self,
    channels: usize
) -> Result<(), DecoderError>
[src]

pub fn fill(&mut self, data: &[u8]) -> Result<usize, DecoderError>[src]

pub fn decode_frame(&mut self, pcm: &mut [i16]) -> Result<(), DecoderError>[src]

pub fn decoded_frame_size(&self) -> usize[src]

pub fn stream_info(&self) -> &StreamInfo[src]

Trait Implementations

impl Debug for Decoder[src]

impl Drop for Decoder[src]

impl Send for Decoder[src]

impl Sync for Decoder[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.