From 373dc625f82b47096893add42c4472e4a57ab7eb Mon Sep 17 00:00:00 2001 From: Aki Date: Wed, 9 Feb 2022 22:23:03 +0100 Subject: Moved third-party libraries to a separate subdirectory --- .../doc/libvorbis/vorbis_analysis_buffer.html | 74 ++++++++++++++++++++++ 1 file changed, 74 insertions(+) create mode 100644 contrib/vorbis/doc/libvorbis/vorbis_analysis_buffer.html (limited to 'contrib/vorbis/doc/libvorbis/vorbis_analysis_buffer.html') diff --git a/contrib/vorbis/doc/libvorbis/vorbis_analysis_buffer.html b/contrib/vorbis/doc/libvorbis/vorbis_analysis_buffer.html new file mode 100644 index 0000000..cf6ae80 --- /dev/null +++ b/contrib/vorbis/doc/libvorbis/vorbis_analysis_buffer.html @@ -0,0 +1,74 @@ + + + +libvorbis - function - vorbis_analysis_buffer + + + + + + + + + +

libvorbis documentation

libvorbis version 1.3.2 - 20101101

+ +

vorbis_analysis_buffer

+ +

declared in "vorbis/codec.h";

+ +

This fuction requests a buffer array for delivering audio to the +encoder for compression.

+ +

The Vorbis encoder expects the caller to write audio data as +non-interleaved floating point samples into its internal buffers. +

+

+The general procedure is to call this function with the number of samples +you have available. The encoder will arrange for that much internal storage +and return an array of buffer pointers, one for each channel of audio. +The caller must then write the audio samples into those buffers, as +float values, and finally call vorbis_analysis_wrote() to tell the +encoder the data is available for analysis. +

+ + + + + +
+

+extern float  **vorbis_analysis_buffer(vorbis_dsp_state *v,int vals);
+
+
+ +

Parameters

+
+
v
+
Pointer to the vorbis_dsp_state representing the encoder.
+
vals
+
Number of samples to provide space for in the returned buffer. 1024 is a reasonable choice.
+
+ + +

Return Values

+

Returns an array of floating point buffers which can accept data. +A (**float) where the first index is the channel, and the second is +the sample index.

+ +

+


+ + + + + + + + +

copyright © 2010 Xiph.Org

Ogg Vorbis

libvorbis documentation

libvorbis version 1.3.2 - 20101101

+ + + + + -- cgit v1.1