cannam@86: cannam@86: cannam@86: cannam@86: libvorbis - function - vorbis_synthesis_pcmout 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_pcmout

cannam@86: cannam@86:

declared in "vorbis/codec.h";

cannam@86: cannam@86:

This function retrieves buffers containing decoded audio samples.

cannam@86:

The application is not required to make use of all of the samples cannam@86: made available to it by one call to this function before it continues to cannam@86: decode. Use vorbis_synthesis_read cannam@86: to inform the decoder of how many samples were actually used. Any cannam@86: unused samples will be included in the buffers output by the next call cannam@86: to this function.

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

cannam@86: extern int      vorbis_synthesis_pcmout(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: