Chris@1: Chris@1: Chris@1: Chris@1: libvorbis - function - vorbis_synthesis_lapout 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_synthesis_lapout

Chris@1: Chris@1:

declared in "vorbis/codec.h";

Chris@1: Chris@1:

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

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

Chris@1: extern int      vorbis_synthesis_lapout(vorbis_dsp_state *v,float ***pcm);
Chris@1: 
Chris@1:
Chris@1: Chris@1:

Parameters

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

Return Values

Chris@1:
Chris@1:
  • The number of samples available in the output buffer.
  • Chris@1:
  • 0 if no more samples are currently available.
  • 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: