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

Chris@1: Chris@1:

declared in "vorbis/codec.h";

Chris@1: Chris@1:

This function returns the next available completed packet from the Chris@1: bitrate management engine. It should be called in a loop after any call Chris@1: to vorbis_bitrate_addblock() until it returns either 0 (more data needed) Chris@1: or a negative value (error). Chris@1:

Chris@1: Chris@1:

Chris@1: The data returned in the ogg_packet structure can be copied to the Chris@1: final compressed output stream. Chris@1:

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

Chris@1: extern int      vorbis_bitrate_flushpacket(vorbis_dsp_state *vd,
Chris@1:                                            ogg_packet *op);
Chris@1: 
Chris@1:
Chris@1: Chris@1:

Parameters

Chris@1:
Chris@1:
vd
Chris@1:
Pointer to the vorbis_dsp_state represending the encoder.
Chris@1:
op
Chris@1:
Pointer to an ogg_packet to be filled out with the compressed data.
Chris@1:
Chris@1: Chris@1: Chris@1:

Return Values

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: