From 8e94244f86e657e4113e35438e59cf5771882b25 Mon Sep 17 00:00:00 2001 From: Aki Date: Sun, 3 Mar 2024 12:51:03 +0100 Subject: libogg and libvorbis are no longer part of this source tree --- contrib/vorbis/doc/vorbisfile/decoding.html | 92 ----------------------------- 1 file changed, 92 deletions(-) delete mode 100644 contrib/vorbis/doc/vorbisfile/decoding.html (limited to 'contrib/vorbis/doc/vorbisfile/decoding.html') diff --git a/contrib/vorbis/doc/vorbisfile/decoding.html b/contrib/vorbis/doc/vorbisfile/decoding.html deleted file mode 100644 index f394376..0000000 --- a/contrib/vorbis/doc/vorbisfile/decoding.html +++ /dev/null @@ -1,92 +0,0 @@ - - - -Vorbisfile - Decoding - - - - - - - - - -

Vorbisfile documentation

vorbisfile version 1.3.2 - 20101101

- -

Decoding

- -

-All libvorbisfile decoding routines are declared in "vorbis/vorbisfile.h". -

- -After initialization, decoding audio -is as simple as calling ov_read() (or the -similar functions ov_read_float() and -ov_read_filter). This function works -similarly to reading from a normal file using read().

- -However, a few differences are worth noting: - -

multiple stream links

- -A Vorbis stream may consist of multiple sections (called links) that -encode differing numbers of channels or sample rates. It is vitally -important to pay attention to the link numbers returned by ov_read and handle audio changes that may -occur at link boundaries. Such multi-section files do exist in the -wild and are not merely a specification curiosity. - -

returned data amount

- -ov_read does not attempt to completely fill -a large, passed in data buffer; it merely guarantees that the passed -back data does not overflow the passed in buffer size. Large buffers -may be filled by iteratively looping over calls to ov_read (incrementing the buffer pointer) -until the original buffer is filled. - -

file cursor position

- -Vorbis files do not necessarily start at a sample number or time offset -of zero. Do not be surprised if a file begins at a positive offset of -several minutes or hours, such as would happen if a large stream (such -as a concert recording) is chopped into multiple seperate files. - -

- - - - - - - - - - - - - - - - - -
functionpurpose
ov_readThis function makes up the main chunk of a decode loop. It takes an -OggVorbis_File structure, which must have been initialized by a previous -call to ov_open(), ov_fopen(), -or ov_open_callbacks().
ov_read_floatThis function decodes to floats instead of integer samples.
ov_read_filterThis function works like ov_read, but passes the PCM data through the provided filter before converting to integer sample data.
- -

-


- - - - - - - - -

copyright © 2000-2010 Xiph.Org

Ogg Vorbis

Vorbisfile documentation

vorbisfile version 1.3.2 - 20101101

- - - - -- cgit v1.1