Struct sdl2_sys::SDL_AudioCVT [] [src]

#[repr(C, packed)]
pub struct SDL_AudioCVT { pub needed: c_int, pub src_format: SDL_AudioFormat, pub dst_format: SDL_AudioFormat, pub rate_incr: f64, pub buf: *mut Uint8, pub len: c_int, pub len_cvt: c_int, pub len_mult: c_int, pub len_ratio: f64, pub filters: [SDL_AudioFilter; 10], pub filter_index: c_int, }

Fields

< Set to 1 if conversion possible

< Source audio format

< Target audio format

< Rate conversion increment

< Buffer to hold entire audio data

< Length of original audio buffer

< Length of converted audio buffer

< buffer must be len*len_mult big

< Given len, final size is len*len_ratio

< NULL-terminated list of filter functions

< Current audio conversion function

Trait Implementations

impl Debug for SDL_AudioCVT
[src]

[src]

Formats the value using the given formatter.

impl Copy for SDL_AudioCVT
[src]

impl Clone for SDL_AudioCVT
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more