Chris@1: Chris@1: Chris@1: Chris@1: libvorbis - function - vorbis_analysis_wrote Chris@1: Chris@1: Chris@1: Chris@1: Chris@1: Chris@1: Chris@1: Chris@1: Chris@1: Chris@1:

libvorbis documentation

libvorbis version 1.3.2 - 20101101

Chris@1: Chris@1:

vorbis_analysis_wrote

Chris@1: Chris@1:

declared in "vorbis/codec.h";

Chris@1: Chris@1:

This function tells the encoder new data is available for compression. Chris@1: Call this after writing new audio into the buffer array returned by Chris@1: vorbis_analysis_buffer(). Chris@1:

Chris@1: Chris@1:

Chris@1: Call with the vals parameter set to zero to signal the end Chris@1: of the input data. Chris@1:

Chris@1: Chris@1: Chris@1: Chris@1: Chris@1: Chris@1:
Chris@1:

Chris@1: extern int      vorbis_analysis_wrote(vorbis_dsp_state *v,int vals);
Chris@1: 
Chris@1:
Chris@1: Chris@1:

Parameters

Chris@1:
Chris@1:
v
Chris@1:
Pointer to the vorbis_dsp_state representing the encoder.
Chris@1:
vals
Chris@1:
Number of samples successfully written. This must be less than Chris@1: or equal to the value passed to vorbis_analysis_buffer(). A value Chris@1: of zero means all input data has been provided and the compressed Chris@1: stream should be finalized.
Chris@1:
Chris@1: Chris@1: Chris@1:

Return Values

Chris@1: Chris@1:

Chris@1: Chris@1:

Chris@1:


Chris@1: Chris@1: Chris@1: Chris@1: Chris@1: Chris@1: Chris@1: Chris@1: Chris@1:

copyright © 2010 Xiph.Org

Ogg Vorbis

libvorbis documentation

libvorbis version 1.3.2 - 20101101

Chris@1: Chris@1: Chris@1: Chris@1: Chris@1: