Maestro Audio Framework v 1.7
NXP Semiconductors
Loading...
Searching...
No Matches
codec_interface.h File Reference

Contains codec interface definitions. More...

Data Structures

struct  codec_interface_function_table_t
 Codec Interface Function Table. More...
 

Typedefs

typedef int32_t(* codec_get_memory_sizes_function_t) (void)
 Declares codec_get_memory_sizes_function_t as a ptr to a function that calls codec get memory size.
 
typedef int32_t(* codec_init_function_t) (int32_t *memory[], int32_t *callback_fn[], int32_t *user_data)
 Declares codec_init_function_t as a pointer to a function that calls codec init.
 
typedef int32_t(* codec_decode_function_t) (int32_t *memory[], int32_t *sample_produced, int32_t *buf_out)
 Declares codec_decode_function_t as a pointer to a function that calls codec decode.
 
typedef int32_t(* codec_get_pcm_samples_function_t) (int32_t *memory[], int32_t *sample_produced, int32_t max_sample, int32_t *buf_out)
 Declares codec_get_pcm_samples_function_t as a ptr to a function that calls codec get pcm samples.
 
typedef int32_t(* codec_reset_function_t) (int32_t *memory[])
 Declares codec_reset_function_t as a pointer to a function that calls codec reset.
 
typedef int32_t(* codec_file_seek_function_t) (int32_t *memory[], int32_t seek_offset)
 Declares codec_file_seek_function_t as a pointer to a function that calls codec seek.
 
typedef int32_t(* codec_get_io_frame_size_function_t) (int32_t *in_size, int32_t *out_size)
 Declares codec_get_input_frame_size_function_t as a ptr to a function that calls codec get input frame size.
 

Variables

const codec_interface_function_table_t g_codec_function_table [STREAM_TYPE_COUNT]
 Global table with function pointers for different codecs.