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

Chris@1: Chris@1:

declared in "vorbis/codec.h";

Chris@1: Chris@1:

This function decodes a Vorbis packet into a block of data. The Chris@1: vorbis_block should then be submitted Chris@1: to the vorbis_dsp_state Chris@1: for the decoder instance using Chris@1: vorbis_synthesis_blockin Chris@1: to be assembled into the final decoded audio.

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

Chris@1: extern int      vorbis_synthesis(vorbis_block *vb,ogg_packet *op);
Chris@1: 
Chris@1:
Chris@1: Chris@1:

Parameters

Chris@1:
Chris@1:
vb
Chris@1:
The vorbis_block to decode the Chris@1: packet into.
Chris@1:
op
Chris@1:
The ogg_packet to decode.
Chris@1:
Chris@1: Chris@1: Chris@1:

Return Values

Chris@1:
Chris@1:
  • 0 on success.
  • Chris@1:
  • OV_ENOTAUDIO if the packet is not an audio packet.
  • Chris@1:
  • OV_EBADPACKET if there was an error in the packet.
  • 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: