libgpac
Documentation of the core library of GPAC
|
#include <avparse.h>
Data Fields | |
const char * | codec_name |
void * | parserPrivateState |
int | channels |
int | sample_rate |
GF_Err(* | process )(struct ogg_audio_codec_desc_t *parserState, u8 *data, u32 data_length, void *importer, Bool *destroy_esd, u32 *track, u32 *di, u64 *duration, int *block_size) |
void(* | release )(struct ogg_audio_codec_desc_t *parserState) |
OGG audio codec descriptor
const char* ogg_audio_codec_desc::codec_name |
name of the codec
void* ogg_audio_codec_desc::parserPrivateState |
private
int ogg_audio_codec_desc::channels |
number of channels
int ogg_audio_codec_desc::sample_rate |
samplerate
GF_Err(* ogg_audio_codec_desc::process) (struct ogg_audio_codec_desc_t *parserState, u8 *data, u32 data_length, void *importer, Bool *destroy_esd, u32 *track, u32 *di, u64 *duration, int *block_size) |
process the data and returns the sample block_size (i.e. duration)
void(* ogg_audio_codec_desc::release) (struct ogg_audio_codec_desc_t *parserState) |
release private state