cannam@86: cannam@86: cannam@86: cannam@86: libvorbis - datatype - vorbis_info cannam@86: cannam@86: cannam@86: cannam@86: cannam@86: cannam@86: cannam@86: cannam@86: cannam@86: cannam@86:

libvorbis documentation

libvorbis version 1.3.2 - 20101101

cannam@86: cannam@86:

vorbis_info

cannam@86: cannam@86:

declared in "vorbis/codec.h"

cannam@86: cannam@86:

cannam@86: The vorbis_info structure contains basic information about the audio in a vorbis bitstream. cannam@86:

cannam@86: cannam@86: cannam@86: cannam@86: cannam@86: cannam@86:
cannam@86:
typedef struct vorbis_info{
cannam@86:   int version;
cannam@86:   int channels;
cannam@86:   long rate;
cannam@86:   
cannam@86:   long bitrate_upper;
cannam@86:   long bitrate_nominal;
cannam@86:   long bitrate_lower;
cannam@86:   long bitrate_window;
cannam@86: 
cannam@86:   void *codec_setup;
cannam@86: 
cannam@86: } vorbis_info;
cannam@86:
cannam@86: cannam@86:

Relevant Struct Members

cannam@86:
cannam@86:
version
cannam@86:
Vorbis encoder version used to create this bitstream.
cannam@86:
channels
cannam@86:
Int signifying number of channels in bitstream.
cannam@86:
rate
cannam@86:
Sampling rate of the bitstream.
cannam@86:
bitrate_upper
cannam@86:
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.
cannam@86:
bitrate_nominal
cannam@86:
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.
cannam@86:
bitrate_lower
cannam@86:
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.
cannam@86:
bitrate_window
cannam@86:
Currently unset.
cannam@86: cannam@86:
codec_setup
cannam@86:
Internal structure that contains the detailed/unpacked configuration for decoding the current Vorbis bitstream.
cannam@86:
cannam@86: cannam@86: cannam@86:

cannam@86:
cannam@86: cannam@86: cannam@86: cannam@86: cannam@86: cannam@86: cannam@86: cannam@86: cannam@86:

copyright © 2000-2010 Xiph.Org

Ogg Vorbis

libvorbis documentation

libvorbis version 1.3.2 - 20101101

cannam@86: cannam@86: cannam@86: cannam@86: