Chris@1: Chris@1: Chris@1: Chris@1: libvorbis - function - vorbis_synthesis_pcmout 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_pcmout

Chris@1: Chris@1:

declared in "vorbis/codec.h";

Chris@1: Chris@1:

This function retrieves buffers containing decoded audio samples.

Chris@1:

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

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

Chris@1: extern int      vorbis_synthesis_pcmout(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: