[][src]Struct miniaudio_sys::ma_decoder

#[repr(C)]pub struct ma_decoder {
    pub onRead: ma_decoder_read_proc,
    pub onSeek: ma_decoder_seek_proc,
    pub pUserData: *mut c_void,
    pub readPointer: ma_uint64,
    pub internalFormat: ma_format,
    pub internalChannels: ma_uint32,
    pub internalSampleRate: ma_uint32,
    pub internalChannelMap: [ma_channel; 32],
    pub outputFormat: ma_format,
    pub outputChannels: ma_uint32,
    pub outputSampleRate: ma_uint32,
    pub outputChannelMap: [ma_channel; 32],
    pub converter: ma_data_converter,
    pub allocationCallbacks: ma_allocation_callbacks,
    pub onReadPCMFrames: ma_decoder_read_pcm_frames_proc,
    pub onSeekToPCMFrame: ma_decoder_seek_to_pcm_frame_proc,
    pub onUninit: ma_decoder_uninit_proc,
    pub onGetLengthInPCMFrames: ma_decoder_get_length_in_pcm_frames_proc,
    pub pInternalDecoder: *mut c_void,
    pub memory: ma_decoder__bindgen_ty_1,
}

Fields

onRead: ma_decoder_read_proconSeek: ma_decoder_seek_procpUserData: *mut c_voidreadPointer: ma_uint64internalFormat: ma_formatinternalChannels: ma_uint32internalSampleRate: ma_uint32internalChannelMap: [ma_channel; 32]outputFormat: ma_formatoutputChannels: ma_uint32outputSampleRate: ma_uint32outputChannelMap: [ma_channel; 32]converter: ma_data_converterallocationCallbacks: ma_allocation_callbacksonReadPCMFrames: ma_decoder_read_pcm_frames_proconSeekToPCMFrame: ma_decoder_seek_to_pcm_frame_proconUninit: ma_decoder_uninit_proconGetLengthInPCMFrames: ma_decoder_get_length_in_pcm_frames_procpInternalDecoder: *mut c_voidmemory: ma_decoder__bindgen_ty_1

Trait Implementations

impl Clone for ma_decoder[src]

impl Copy for ma_decoder[src]

impl Debug for ma_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> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

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.