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

Chris@1: Chris@1:

declared in "vorbis/codec.h";

Chris@1: Chris@1:

This function creates and returns the three header packets needed Chris@1: to configure a decoder to accept compressed data. I should be called Chris@1: after all encoder initialization and configuration is complete. The Chris@1: output packets should be placed in order at the start of the compressed Chris@1: vorbis stream, prior to the first data packet. Chris@1:

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

Chris@1: extern int      vorbis_analysis_headerout(vorbis_dsp_state *v,
Chris@1:                                           vorbis_comment *vc,
Chris@1:                                           ogg_packet *op,
Chris@1:                                           ogg_packet *op_comm,
Chris@1:                                           ogg_packet *op_code);
Chris@1: 
Chris@1:
Chris@1: Chris@1:

Parameters

Chris@1:
Chris@1:
v
Chris@1:
Pointer to an initialized vorbis_dsp_state which holds the encoder configuration.
Chris@1:
vc
Chris@1:
Pointer to an initialized vorbis_comment structure which holds the metadata associated with the stream being encoded.
Chris@1:
op
Chris@1:
Pointer to an ogg_packet structure to be filled out with the stream identification header.
Chris@1:
op_comm
Chris@1:
Pointer to an ogg_packet structure to be filled out with the serialied vorbis_comment data.
Chris@1:
op_code
Chris@1:
Pointer to an ogg_packet structure to be filled out with the codebooks, mode descriptions, etc. which will be used encoding the stream.
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: 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: