20 typedef FMOD_RESULT (F_CALLBACK *FMOD_CODEC_CLOSECALLBACK) (
FMOD_CODEC_STATE *codec_state);
21 typedef FMOD_RESULT (F_CALLBACK *FMOD_CODEC_READCALLBACK) (
FMOD_CODEC_STATE *codec_state,
void *buffer,
unsigned int sizebytes,
unsigned int *bytesread);
22 typedef FMOD_RESULT (F_CALLBACK *FMOD_CODEC_GETLENGTHCALLBACK) (
FMOD_CODEC_STATE *codec_state,
unsigned int *length, FMOD_TIMEUNIT lengthtype);
23 typedef FMOD_RESULT (F_CALLBACK *FMOD_CODEC_SETPOSITIONCALLBACK) (
FMOD_CODEC_STATE *codec_state,
int subsound,
unsigned int position, FMOD_TIMEUNIT postype);
24 typedef FMOD_RESULT (F_CALLBACK *FMOD_CODEC_GETPOSITIONCALLBACK) (
FMOD_CODEC_STATE *codec_state,
unsigned int *position, FMOD_TIMEUNIT postype);
25 typedef FMOD_RESULT (F_CALLBACK *FMOD_CODEC_SOUNDCREATECALLBACK) (
FMOD_CODEC_STATE *codec_state,
int subsound, FMOD_SOUND *sound);
26 typedef FMOD_RESULT (F_CALLBACK *FMOD_CODEC_METADATACALLBACK) (
FMOD_CODEC_STATE *codec_state, FMOD_TAGTYPE tagtype,
char *name,
void *data,
unsigned int datalen, FMOD_TAGDATATYPE datatype,
int unique);
52 FMOD_TIMEUNIT timeunits;
53 FMOD_CODEC_OPENCALLBACK open;
54 FMOD_CODEC_CLOSECALLBACK close;
55 FMOD_CODEC_READCALLBACK read;
56 FMOD_CODEC_GETLENGTHCALLBACK getlength;
57 FMOD_CODEC_SETPOSITIONCALLBACK setposition;
58 FMOD_CODEC_GETPOSITIONCALLBACK getposition;
59 FMOD_CODEC_SOUNDCREATECALLBACK soundcreate;
60 FMOD_CODEC_GETWAVEFORMAT getwaveformat;
98 FMOD_SOUND_FORMAT format;
101 unsigned int lengthbytes;
102 unsigned int lengthpcm;
107 unsigned int channelmask;
151 unsigned int filesize;
152 FMOD_FILE_READCALLBACK fileread;
153 FMOD_FILE_SEEKCALLBACK fileseek;
154 FMOD_CODEC_METADATACALLBACK metadata;
Definition: fmod_codec.h:144
Definition: fmod_codec.h:47
Definition: fmod_codec.h:95