Tremor documentation |
Tremor version 1.0 - 20020403 |
declared in "ivorbisfile.h";
This is an alternative function used to open and test an OggVorbis_File structure when using a data source other than a file. It allows you to specify custom file manipulation routines and sets up all the related decoding structures.
Once this has been called, the same OggVorbis_File struct should be passed to all the libvorbisidec functions.
int ov_test_callbacks(void *datasource, OggVorbis_File *vf, char *initial, long ibytes, ov_callbacks callbacks); |
0 for success less than zero for failure:
- OV_EREAD - A read from media returned an error.
- OV_ENOTVORBIS - Bitstream is not Vorbis data.
- OV_EVERSION - Vorbis version mismatch.
- OV_EBADHEADER - Invalid Vorbis bitstream header.
- OV_EFAULT - Internal logic fault; indicates a bug or heap/stack corruption.
copyright © 2002 Xiph.org |
|
Tremor documentation |
Tremor version 1.0 - 20020403 |