14#include "ws_symbol_export.h"
15#include "ws_attributes.h"
26 void (*register_codec_module)(void);
29WS_DLL_PUBLIC
void codecs_register_plugin(
const codecs_plugin *plug);
36WS_DLL_PUBLIC
void codecs_cleanup(
void);
112 const void *inputBytes,
size_t inputBytesSize,
113 void *outputSamples,
size_t *outputSamplesSize);
119WS_DLL_PUBLIC
bool register_codec(
const char *name,
codec_init_fn init_fn,
122WS_DLL_PUBLIC
bool deregister_codec(
const char *name);
129 const void *inputBytes,
size_t inputBytesSize,
130 void *outputSamples,
size_t *outputSamplesSize);
WS_DLL_PUBLIC void codecs_init(void)
Definition codecs.c:55
void(* codec_release_fn)(codec_context_t *context)
Definition codecs.h:73
size_t(* codec_decode_fn)(codec_context_t *context, const void *inputBytes, size_t inputBytesSize, void *outputSamples, size_t *outputSamplesSize)
Definition codecs.h:111
unsigned(* codec_get_frequency_fn)(codec_context_t *context)
Definition codecs.h:89
void *(* codec_init_fn)(codec_context_t *context)
Definition codecs.h:67
unsigned(* codec_get_channels_fn)(codec_context_t *context)
Definition codecs.h:81
WS_DLL_PUBLIC void codec_get_compiled_version_info(GString *str)