Vorbisfile documentation | vorbisfile version 1.2.0 - 20070723

# 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 © 2007 Xiph.org | Ogg Vorbis
Vorbisfile documentation | vorbisfile version 1.2.0 - 20070723