From 2016c5ffe2503db33026280b4126a2ba1994cc34 Mon Sep 17 00:00:00 2001
From: Jack Moffitt vorbisfile documentation vorbisfile version 1.25 - 20000615 vorbisfile - 20011218 copyright © 2000 vorbis team copyright © 2001 vorbis team vorbisfile documentation vorbisfile version 1.25 - 20000615 vorbisfile - 20011218 vorbisfile documentation vorbisfile version 1.25 - 20000615 vorbisfile - 20011218 copyright © 2000 Xiphophorus copyright © 2001 Xiphophorus vorbisfile documentation vorbisfile version 1.25 - 20000615 vorbisfile - 20011218 vorbisfile documentation vorbisfile - 20011218 declared in "vorbis/vorbisfile.h";
+ This is the function used to decode a Vorbis file within a loop, but
+ returns samples in native float format instead of in integer formats.
+
+ For more information on how ov_read_float() deals with the complex issues
+ of chaining, etc, refer to the documentation for ov_read().
+ Typical usage:
+
@@ -47,7 +47,7 @@ After use, the OggVorbis_File structure must be deallocated with a call to
-
+
diff --git a/doc/vorbisfile/decoding.html b/doc/vorbisfile/decoding.html
index bc35fd7..afb25c8 100644
--- a/doc/vorbisfile/decoding.html
+++ b/doc/vorbisfile/decoding.html
@@ -9,7 +9,7 @@
-
+
-
+
@@ -30,17 +30,21 @@ All the vorbisfile decoding routines are declared in "vorbis/vorbisfile.h
OggVorbis_File structure, which must have been initialized by a previous
call to ov_open().
+
-
+
+
ov_read
+ This function decodes to floats instead of integer samples.
+
diff --git a/doc/vorbisfile/initialization.html b/doc/vorbisfile/initialization.html
index be09f65..fd0c5cc 100644
--- a/doc/vorbisfile/initialization.html
+++ b/doc/vorbisfile/initialization.html
@@ -37,6 +37,18 @@ All the vorbisfile initialization and deallocation routines are declared
-
+
-
+ov_clear
Closes the bitstream and cleans up loose ends. Must be called when we're done with the bitstream.
+
+
+ov_test
+Partially opens a vorbis file for testing.
+
+
+ov_test_callbacks
+Same as above but useful for non-files like streams.
+
+
ov_test_open
+ Finish open a file opened for testing.
+
diff --git a/doc/vorbisfile/ov_read_float.html b/doc/vorbisfile/ov_read_float.html
new file mode 100644
index 0000000..496f964
--- /dev/null
+++ b/doc/vorbisfile/ov_read_float.html
@@ -0,0 +1,96 @@
+
+
+
+
+
+
+
+
+
+
+ov_read_float()
+
+
+
+
+
+
+
+
+
+
+long ov_read(OggVorbis_File *vf, float ***pcm_channels, int *bitstream);
+
+ Parameters
+
+
+
+
+Return Values
+
+
+
+
+
+
(one of: garbage between pages, loss of sync followed by
+ recapture, or a corrupt page)Notes
+
+float **pcm;
+bytes_read = ov_read_float(&vf,pcm,¤t_section)
+
+
+This decodes one packets worth of float samples.
+
copyright © 2001 vorbis team |
++ |
vorbisfile documentation |
+vorbisfile - 20011218 |
+
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 |
+
vorbisfile documentation |
+vorbisfile - 20011218 |
+
declared in "vorbis/vorbisfile.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 structure. +
Once this has been called, the same OggVorbis_File +struct should be passed to all the vorbisfile 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 © 2001 vorbis team |
++ |
vorbisfile documentation |
+vorbisfile - 20011218 |
+
vorbisfile documentation |
+vorbisfile - 20011218 |
+
declared in "vorbis/vorbisfile.h";
+ ++Finish opening a file partially opened with ov_test() +or ov_test_callbacks(). +
+ +
++int ov_test_open(OggVorbis_File *vf); ++ |
+
+++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 |
+
vorbisfile documentation |
-vorbisfile version 1.25 - 20000615 |
+vorbisfile - 20011218 |
copyright © 2000 vorbis team |
+copyright © 2001 vorbis team |
|
vorbisfile documentation |
-vorbisfile version 1.25 - 20000615 |
+vorbisfile - 20011218 |