Chris@1: Chris@1: Chris@1: Chris@1: libvorbis - function - vorbis_synthesis_read 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_read

Chris@1: Chris@1:

declared in "vorbis/codec.h";

Chris@1: Chris@1:

This function informs the Vorbis decoder of how many Chris@1: samples the application used from the last buffer output by Chris@1: vorbis_synthesis_pcmout.

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

Chris@1: extern int      vorbis_synthesis_read(vorbis_dsp_state *v,int samples);
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:
samples
Chris@1:
The number of samples the application has used.
Chris@1:
Chris@1: Chris@1: Chris@1:

Return Values

Chris@1:
Chris@1:
  • 0 on success.
  • Chris@1:
  • OV_EINVAL if samples is greater than the number of remaining Chris@1: samples in the buffer.
  • 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: