libvorbisenc documentation

libvorbisenc release 1.1 - 20091219

vorbis_block_init

declared in "vorbis/codec.h";

This function initializes a vorbis_block structure and allocates its internal storage. A vorbis_block is used to represent a particular block of input audio which can be analyzed and coded as a unit.


extern int      vorbis_block_init(vorbis_dsp_state *v, vorbis_block *vb);

Parameters

v
Pointer to an initialized vorbis_dsp_state with which to associate the new block.
vb
Pointer to a vorbis_block struct to be initialized.

Return Values

  • 0 for success



  • copyright © 2009 Xiph.Org

    Ogg Vorbis
    team@vorbis.org

    libvorbisenc documentation

    libvorbisenc release 1.1 - 20091219