cannam@86: cannam@86: cannam@86:
cannam@86:libvorbis documentation |
cannam@86: libvorbis version 1.3.2 - 20101101 |
cannam@86:
declared in "vorbis/codec.h";
cannam@86: cannam@86:This fuction requests a buffer array for delivering audio to the cannam@86: encoder for compression.
cannam@86: cannam@86:The Vorbis encoder expects the caller to write audio data as cannam@86: non-interleaved floating point samples into its internal buffers. cannam@86:
cannam@86:cannam@86: The general procedure is to call this function with the number of samples cannam@86: you have available. The encoder will arrange for that much internal storage cannam@86: and return an array of buffer pointers, one for each channel of audio. cannam@86: The caller must then write the audio samples into those buffers, as cannam@86: float values, and finally call vorbis_analysis_wrote() to tell the cannam@86: encoder the data is available for analysis. cannam@86:
cannam@86: cannam@86:
cannam@86: cannam@86: extern float **vorbis_analysis_buffer(vorbis_dsp_state *v,int vals); cannam@86:cannam@86: |
cannam@86:
Returns an array of floating point buffers which can accept data. cannam@86: A (**float) where the first index is the channel, and the second is cannam@86: the sample index.
cannam@86:
cannam@86:
cannam@86:
copyright © 2010 Xiph.Org |
cannam@86: cannam@86: |
libvorbis documentation |
cannam@86: libvorbis version 1.3.2 - 20101101 |
cannam@86: