libvorbis documentation | libvorbis version 1.3.2 - 20101101

# vorbis_info

declared in "vorbis/codec.h"

The vorbis_info structure contains basic information about the audio in 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
  Currently unset.
codec_setup
  Internal structure that contains the detailed/unpacked configuration for decoding the current Vorbis bitstream.

copyright © 2000-2010 Xiph.Org | Ogg Vorbis
libvorbis documentation | libvorbis version 1.3.2 - 20101101