40 size_t (*read_func) (
void *ptr,
size_t size,
size_t nmemb,
void *datasource);
42 int (*close_func) (
void *datasource);
43 long (*tell_func) (
void *datasource);
46 #ifndef OV_EXCLUDE_STATIC_CALLBACKS
54 if(f==
NULL)
return(-1);
57 return fseeko64(f,off,whence);
58 #elif defined (_WIN32)
59 return _fseeki64(f,off,whence);
61 return fseek(f,off,whence);
78 (
int (*)(
void *)) fclose,
79 (long (*)(
void *)) ftell
86 (long (*)(
void *)) ftell
92 (
int (*)(
void *)) fclose,
93 (long (*)(
void *))
NULL
100 (long (*)(
void *))
NULL
153 const char *initial,
long ibytes,
ov_callbacks callbacks);
157 const char *initial,
long ibytes,
ov_callbacks callbacks);
192 int bigendianp,
int word,
int sgned,
int *bitstream,
193 void (*
filter)(
float **pcm,
long channels,
long samples,
void *filter_param),
void *filter_param);
195 int bigendianp,
int word,
int sgned,
int *bitstream);
ogg_int64_t ov_pcm_tell(OggVorbis_File *vf)
int ov_open_callbacks(void *datasource, OggVorbis_File *vf, const char *initial, long ibytes, ov_callbacks callbacks)
int ov_time_seek_lap(OggVorbis_File *vf, double pos)
GLint GLint GLint GLint GLint GLint GLint GLbitfield GLenum filter
int ov_test(FILE *f, OggVorbis_File *vf, const char *initial, long ibytes)
int ov_test_open(OggVorbis_File *vf)
double ov_time_total(OggVorbis_File *vf, int i)
long ov_seekable(OggVorbis_File *vf)
int ov_clear(OggVorbis_File *vf)
int ov_fopen(const char *path, OggVorbis_File *vf)
GLsizei const GLchar *const * path
static ov_callbacks OV_CALLBACKS_STREAMONLY
int ov_open(FILE *f, OggVorbis_File *vf, const char *initial, long ibytes)
int ov_test_callbacks(void *datasource, OggVorbis_File *vf, const char *initial, long ibytes, ov_callbacks callbacks)
ogg_int64_t ov_pcm_total(OggVorbis_File *vf, int i)
int ov_pcm_seek_page(OggVorbis_File *vf, ogg_int64_t pos)
double ov_time_tell(OggVorbis_File *vf)
int ov_halfrate_p(OggVorbis_File *vf)
EGLContext EGLenum EGLClientBuffer buffer
int ov_raw_seek(OggVorbis_File *vf, ogg_int64_t pos)
int ov_halfrate(OggVorbis_File *vf, int flag)
static ov_callbacks OV_CALLBACKS_NOCLOSE
long ov_bitrate(OggVorbis_File *vf, int i)
vorbis_info * ov_info(OggVorbis_File *vf, int link)
ogg_int64_t ov_raw_total(OggVorbis_File *vf, int i)
long ov_read(OggVorbis_File *vf, char *buffer, int length, int bigendianp, int word, int sgned, int *bitstream)
int ov_pcm_seek_lap(OggVorbis_File *vf, ogg_int64_t pos)
long ov_bitrate_instant(OggVorbis_File *vf)
int ov_raw_seek_lap(OggVorbis_File *vf, ogg_int64_t pos)
ogg_int64_t * dataoffsets
struct OggVorbis_File OggVorbis_File
static ov_callbacks OV_CALLBACKS_STREAMONLY_NOCLOSE
vorbis_comment * ov_comment(OggVorbis_File *vf, int link)
long ov_read_float(OggVorbis_File *vf, float ***pcm_channels, int samples, int *bitstream)
int ov_time_seek_page_lap(OggVorbis_File *vf, double pos)
int ov_pcm_seek_page_lap(OggVorbis_File *vf, ogg_int64_t pos)
int ov_crosslap(OggVorbis_File *vf1, OggVorbis_File *vf2)
ogg_int64_t ov_raw_tell(OggVorbis_File *vf)
int ov_time_seek(OggVorbis_File *vf, double pos)
static int _ov_header_fseek_wrap(FILE *f, ogg_int64_t off, int whence)
long ov_read_filter(OggVorbis_File *vf, char *buffer, int length, int bigendianp, int word, int sgned, int *bitstream, void(*filter)(float **pcm, long channels, long samples, void *filter_param), void *filter_param)
long ov_streams(OggVorbis_File *vf)
static ov_callbacks OV_CALLBACKS_DEFAULT
int ov_pcm_seek(OggVorbis_File *vf, ogg_int64_t pos)
long ov_serialnumber(OggVorbis_File *vf, int i)
int ov_time_seek_page(OggVorbis_File *vf, double pos)