vorbisfile documentation |
vorbisfile - 20011218 |
declared in "vorbis/vorbisfile.h";
This partially opens a vorbis file to test for Vorbis-ness. It loads the headers for the first chain, and tests for seekability (but does not seek). Use ov_test_open() to finish opening the file or ov_clear to close/free it.
int ov_test(FILE *f,OggVorbis_File *vf,char *initial,long ibytes); |
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 © 2001 vorbis team |
|
vorbisfile documentation |
vorbisfile - 20011218 |