Displaying 1 result from an estimated 1 matches for "export_c".
Did you mean:
export_
2004 Sep 07
3
Introducing ov_open_callbacksp and ov_clearp
...me code as ov_open_callbacks and free
any memory allocated */
IMPORT_C int ov_open_callbacksp(void *datasource, OggVorbis_File **vf,
char *initial, long ibytes, ov_callbacks callbacks);
IMPORT_C int ov_info_basic(OggVorbis_File *vf,int link, int *channels, long
*rate);
And that to vorbisfile.c:
EXPORT_C int ov_open_callbacksp(void *f,OggVorbis_File **vf,char
*initial,long ibytes,
ov_callbacks callbacks){
int ret;
if (vf==NULL) return -1;
*vf=_ogg_malloc(sizeof(OggVorbis_File));
if (*vf==NULL) return -1;
ret=_ov_open1(f,*vf,initial,ibytes,callbacks);
if(ret!=0 || (ret=_ov_open2(*vf)...