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