libvorbisenc documentation | libvorbisenc release 1.1 - 20040709

# vorbis_info

declared in "vorbis/codec.h"

The vorbis_info structure contains information about a vorbis bitstream.

    typedef struct vorbis_info{
      int version;
      int channels;
      long rate;

      long bitrate_upper;
      long bitrate_nominal;
      long bitrate_lower;
      long bitrate_window;

      void *codec_setup;

    } vorbis_info;

### Relevant Struct Members

version
  Vorbis encoder version used to create this bitstream.
channels
  Int signifying number of channels in bitstream.
rate
  Sampling rate of the bitstream.
bitrate_upper
  Specifies the upper limit in a VBR bitstream. If the value matches the bitrate_nominal and bitrate_lower parameters, the stream is fixed bitrate. May be unset if no limit exists.
bitrate_nominal
  Specifies the average bitrate for a VBR bitstream. May be unset. If the bitrate_upper and bitrate_lower parameters match, the stream is fixed bitrate.
bitrate_lower
  Specifies the lower limit in a VBR bitstream. If the value matches the bitrate_nominal and bitrate_upper parameters, the stream is fixed bitrate. May be unset if no limit exists.
bitrate_window
  Specifies the size of the bit reservoir in seconds relative to the nominal bitrate. May be unset.
codec_setup
  Pointer to private encoder setup state.

copyright © 2004 vorbis team | Ogg Vorbis team@vorbis.org
vorbisfile documentation | libvorbisenc release 1.1 - 20040709