Chris@1: Chris@1: Chris@1:
Chris@1:Vorbisfile documentation |
Chris@1: vorbisfile version 1.3.2 - 20101101 |
Chris@1:
declared in "vorbis/vorbisfile.h";
Chris@1: Chris@1:Chris@1: This partially opens a vorbis file to test for Vorbis-ness. It loads Chris@1: the headers for the first chain and tests for seekability (but does not seek). Chris@1: Use ov_test_open() to finish opening the file Chris@1: or ov_clear to close/free it. Chris@1:
Chris@1: Chris@1:
WARNING for Windows developers: Do not use ov_test() Chris@1: in Windows applications; Windows linking places restrictions on Chris@1: passing FILE * handles successfully, and ov_test() runs afoul Chris@1: of these restrictions [a] in exactly the same Chris@1: way as ov_open(). See the ov_test_callbacks() page for Chris@1: details on using ov_test_callbacks() instead. Chris@1:
Chris@1: Chris@1:
Chris@1: Chris@1: int ov_test(FILE *f,OggVorbis_File *vf,char *initial,long ibytes); Chris@1:Chris@1: |
Chris@1:
Chris@1:Chris@1:0 for success Chris@1: Chris@1:less than zero for failure: Chris@1:Chris@1:
Chris@1:- OV_EREAD - A read from media returned an error.
Chris@1:- OV_ENOTVORBIS - Bitstream contains no Vorbis data.
Chris@1:- OV_EVERSION - Vorbis version mismatch.
Chris@1:- OV_EBADHEADER - Invalid Vorbis bitstream header.
Chris@1:- OV_EFAULT - Internal logic fault; indicates a bug or heap/stack corruption.
Chris@1:
Chris@1: Chris@1:
copyright © 2000-2010 Xiph.Org |
Chris@1: Chris@1: |
Vorbisfile documentation |
Chris@1: vorbisfile version 1.3.2 - 20101101 |
Chris@1: