#[repr(C)]pub struct SpeexMode {Show 13 fields
pub mode: *const c_void,
pub query: mode_query_func,
pub modeName: *const c_char,
pub modeID: c_int,
pub bitstream_version: c_int,
pub enc_init: encoder_init_func,
pub enc_destroy: encoder_destroy_func,
pub enc: encode_func,
pub dec_init: decoder_init_func,
pub dec_destroy: decoder_destroy_func,
pub dec: decode_func,
pub enc_ctl: encoder_ctl_func,
pub dec_ctl: decoder_ctl_func,
}Expand description
Struct defining a Speex mode
Fields§
§mode: *const c_voidPointer to the low-level mode data
query: mode_query_funcPointer to the mode query function
modeName: *const c_charThe name of the mode (you should not rely on this to identify the mode)
modeID: c_intID of the mode
bitstream_version: c_intVersion number of the bitstream (incremented every time we break bitstream compatibility
enc_init: encoder_init_funcPointer to encoder initialization function
enc_destroy: encoder_destroy_funcPointer to encoder destruction function
enc: encode_funcPointer to frame encoding function
dec_init: decoder_init_funcPointer to decoder initialization function
dec_destroy: decoder_destroy_funcPointer to decoder destruction function
dec: decode_funcPointer to frame decoding function
enc_ctl: encoder_ctl_funcioctl-like requests for encoder
dec_ctl: decoder_ctl_funcioctl-like requests for decoder
Trait Implementations§
Auto Trait Implementations§
impl Freeze for SpeexMode
impl RefUnwindSafe for SpeexMode
impl !Send for SpeexMode
impl !Sync for SpeexMode
impl Unpin for SpeexMode
impl UnwindSafe for SpeexMode
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more