ex
Fork of mbed-os-example-mbed5-blinky by
misc.h File Reference
Various compatibility routines for Speex. More...
Go to the source code of this file.
Functions | |
void | print_vec (float *vec, int len, char *name) |
Print a named vector to stdout. | |
static spx_int32_t | le_int (spx_int32_t i) |
Convert little endian. | |
void * | speex_alloc (int size) |
Speex wrapper for calloc. | |
void * | speex_alloc_scratch (int size) |
Same as speex_alloc, except that the area is only needed inside a Speex call (might cause problem with wideband though) | |
void * | speex_realloc (void *ptr, int size) |
Speex wrapper for realloc. | |
void | speex_free (void *ptr) |
Speex wrapper for calloc. | |
void | speex_free_scratch (void *ptr) |
Same as speex_alloc, except that the area is only needed inside a Speex call (might cause problem with wideband though) | |
void * | speex_move (void *dest, void *src, int n) |
Speex wrapper for mem_move. | |
void | speex_error (const char *str) |
Abort with an error message to stderr (internal Speex error) | |
void | speex_warning (const char *str) |
Print warning message to stderr (programming error) | |
void | speex_warning_int (const char *str, int val) |
Print warning message with integer argument to stderr. | |
void | speex_notify (const char *str) |
Print notification message to stderr. | |
spx_word16_t | speex_rand (spx_word16_t std, spx_int32_t *seed) |
Generate a random number. | |
void | _speex_putc (int ch, void *file) |
Speex wrapper for putc. |
Detailed Description
Various compatibility routines for Speex.
Definition in file misc.h.
Function Documentation
void _speex_putc | ( | int | ch, |
void * | file | ||
) |
Speex wrapper for putc.
static spx_int32_t le_int | ( | spx_int32_t | i ) | [static] |
void print_vec | ( | float * | vec, |
int | len, | ||
char * | name | ||
) |
Print a named vector to stdout.
void* speex_alloc | ( | int | size ) |
Speex wrapper for calloc.
To do your own dynamic allocation, all you need to do is replace this function, speex_realloc and speex_free
void* speex_alloc_scratch | ( | int | size ) |
Same as speex_alloc, except that the area is only needed inside a Speex call (might cause problem with wideband though)
void speex_error | ( | const char * | str ) |
Abort with an error message to stderr (internal Speex error)
void speex_free | ( | void * | ptr ) |
Speex wrapper for calloc.
To do your own dynamic allocation, all you need to do is replace this function, speex_realloc and speex_alloc
void speex_free_scratch | ( | void * | ptr ) |
Same as speex_alloc, except that the area is only needed inside a Speex call (might cause problem with wideband though)
void* speex_move | ( | void * | dest, |
void * | src, | ||
int | n | ||
) |
Speex wrapper for mem_move.
Definition at line 37 of file misc_bfin.h.
void speex_notify | ( | const char * | str ) |
Print notification message to stderr.
spx_word16_t speex_rand | ( | spx_word16_t | std, |
spx_int32_t * | seed | ||
) |
Generate a random number.
void* speex_realloc | ( | void * | ptr, |
int | size | ||
) |
Speex wrapper for realloc.
To do your own dynamic allocation, all you need to do is replace this function, speex_alloc and speex_free
void speex_warning | ( | const char * | str ) |
Print warning message to stderr (programming error)
void speex_warning_int | ( | const char * | str, |
int | val | ||
) |
Print warning message with integer argument to stderr.
Generated on Tue Jul 12 2022 16:28:54 by 1.7.2