Chris@1: The vorbis_info structure contains basic information about the audio in a vorbis bitstream.
Chris@1:
Chris@1:
Chris@1:
Chris@1:
Chris@1:
Chris@1:
typedef struct vorbis_info{
Chris@1: int version;
Chris@1: int channels;
Chris@1: long rate;
Chris@1:
Chris@1: long bitrate_upper;
Chris@1: long bitrate_nominal;
Chris@1: long bitrate_lower;
Chris@1: long bitrate_window;
Chris@1:
Chris@1: void *codec_setup;
Chris@1:
Chris@1: } vorbis_info;
Chris@1:
Chris@1:
Chris@1:
Chris@1:
Chris@1:
Relevant Struct Members
Chris@1:
Chris@1:
version
Chris@1:
Vorbis encoder version used to create this bitstream.
Chris@1:
channels
Chris@1:
Int signifying number of channels in bitstream.
Chris@1:
rate
Chris@1:
Sampling rate of the bitstream.
Chris@1:
bitrate_upper
Chris@1:
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.
Chris@1:
bitrate_nominal
Chris@1:
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.
Chris@1:
bitrate_lower
Chris@1:
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.
Chris@1:
bitrate_window
Chris@1:
Currently unset.
Chris@1:
Chris@1:
codec_setup
Chris@1:
Internal structure that contains the detailed/unpacked configuration for decoding the current Vorbis bitstream.