cannam@86: cannam@86: cannam@86: cannam@86: libvorbis - function - vorbis_synthesis_lapout cannam@86: cannam@86: cannam@86: cannam@86: cannam@86: cannam@86: cannam@86: cannam@86: cannam@86: cannam@86:

libvorbis documentation

libvorbis version 1.3.2 - 20101101

cannam@86: cannam@86:

vorbis_synthesis_lapout

cannam@86: cannam@86:

declared in "vorbis/codec.h";

cannam@86: cannam@86:

This function retrieves buffers containing decoded audio samples, similarly cannam@86: to vorbis_synthesis_pcmout. cannam@86: However, it includes some extra samples extrapolated from the end of cannam@86: the audio, suitable for crosslapping with other blocks. This exists mainly cannam@86: for libvorbisfile to use for cannam@86: handling chained bitstreams and bitstreams with holes.

cannam@86: cannam@86: cannam@86: cannam@86: cannam@86: cannam@86:
cannam@86:

cannam@86: extern int      vorbis_synthesis_lapout(vorbis_dsp_state *v,float ***pcm);
cannam@86: 
cannam@86:
cannam@86: cannam@86:

Parameters

cannam@86:
cannam@86:
v
cannam@86:
The vorbis_dsp_state for the cannam@86: decoder instance.
cannam@86:
pcm
cannam@86:
A pointer to a float** which will be made to point to an array of cannam@86: pointers to the decoded samples for each channel. The memory is owned cannam@86: by the decoder instance and will be freed when the application continues cannam@86: decoding or destroys the decoder instance. This can be NULL, in which cannam@86: case the return value gives the number of samples that would be returned cannam@86: if this function were called with a non-NULL pointer here.
cannam@86:
cannam@86: cannam@86: cannam@86:

Return Values

cannam@86:
cannam@86:
  • The number of samples available in the output buffer.
  • cannam@86:
  • 0 if no more samples are currently available.
  • cannam@86:
    cannam@86:

    cannam@86: cannam@86:

    cannam@86:


    cannam@86: cannam@86: cannam@86: cannam@86: cannam@86: cannam@86: cannam@86: cannam@86: cannam@86:

    copyright © 2010 Xiph.Org

    Ogg Vorbis

    libvorbis documentation

    libvorbis version 1.3.2 - 20101101

    cannam@86: cannam@86: cannam@86: cannam@86: cannam@86: