ex

Fork of mbed-os-example-mbed5-blinky by mbed-os-examples

Embed: (wiki syntax)

« Back to documentation index

Various definitions for Speex callbacks supported by the decoder.

Various definitions for Speex callbacks supported by the decoder.

Data Structures

struct  SpeexCallback
 Callback information. More...

Typedefs

typedef int(* speex_callback_func )(SpeexBits *bits, void *state, void *data)
 Callback function type.
typedef struct SpeexCallback SpeexCallback
 Callback information.

Functions

int speex_inband_handler (SpeexBits *bits, SpeexCallback *callback_list, void *state)
 Handle in-band request.
int speex_std_mode_request_handler (SpeexBits *bits, void *state, void *data)
 Standard handler for mode request (change mode, no questions asked)
int speex_std_high_mode_request_handler (SpeexBits *bits, void *state, void *data)
 Standard handler for high mode request (change high mode, no questions asked)
int speex_std_char_handler (SpeexBits *bits, void *state, void *data)
 Standard handler for in-band characters (write to stderr)
int speex_default_user_handler (SpeexBits *bits, void *state, void *data)
 Default handler for user-defined requests: in this case, just ignore.
int speex_std_low_mode_request_handler (SpeexBits *bits, void *state, void *data)
 Standard handler for low mode request (change low mode, no questions asked)
int speex_std_vbr_request_handler (SpeexBits *bits, void *state, void *data)
 Standard handler for VBR request (Set VBR, no questions asked)
int speex_std_enh_request_handler (SpeexBits *bits, void *state, void *data)
 Standard handler for enhancer request (Turn ehnancer on/off, no questions asked)
int speex_std_vbr_quality_request_handler (SpeexBits *bits, void *state, void *data)
 Standard handler for VBR quality request (Set VBR quality, no questions asked)

Typedef Documentation

typedef int(* speex_callback_func)(SpeexBits *bits, void *state, void *data)

Callback function type.

Definition at line 88 of file speex_callbacks.h.

typedef struct SpeexCallback SpeexCallback

Callback information.


Function Documentation

int speex_default_user_handler ( SpeexBits bits,
void *  state,
void *  data 
)

Default handler for user-defined requests: in this case, just ignore.

int speex_inband_handler ( SpeexBits bits,
SpeexCallback callback_list,
void *  state 
)

Handle in-band request.

int speex_std_char_handler ( SpeexBits bits,
void *  state,
void *  data 
)

Standard handler for in-band characters (write to stderr)

int speex_std_enh_request_handler ( SpeexBits bits,
void *  state,
void *  data 
)

Standard handler for enhancer request (Turn ehnancer on/off, no questions asked)

int speex_std_high_mode_request_handler ( SpeexBits bits,
void *  state,
void *  data 
)

Standard handler for high mode request (change high mode, no questions asked)

int speex_std_low_mode_request_handler ( SpeexBits bits,
void *  state,
void *  data 
)

Standard handler for low mode request (change low mode, no questions asked)

int speex_std_mode_request_handler ( SpeexBits bits,
void *  state,
void *  data 
)

Standard handler for mode request (change mode, no questions asked)

int speex_std_vbr_quality_request_handler ( SpeexBits bits,
void *  state,
void *  data 
)

Standard handler for VBR quality request (Set VBR quality, no questions asked)

int speex_std_vbr_request_handler ( SpeexBits bits,
void *  state,
void *  data 
)

Standard handler for VBR request (Set VBR, no questions asked)