Vorbisfile documentation

vorbisfile version 1.68 - 20030307

File Information

Libvorbisfile contains many functions to get information about bitstream attributes and decoding status.

All libvorbisfile file information routines are declared in "vorbis/vorbisfile.h".

function purpose
ov_bitrate Returns the average bitrate of the current logical bitstream.
ov_bitrate_instant Returns the exact bitrate since the last call of this function, or -1 if at the beginning of the bitream or no new information is available.
ov_streams Gives the number of logical bitstreams within the current physical bitstream.
ov_seekable Indicates whether the bitstream is seekable.
ov_serialnumber Returns the unique serial number of the specified logical bitstream.
ov_raw_total Returns the total (compressed) bytes in a physical or logical seekable bitstream.
ov_pcm_total Returns the total number of samples in a physical or logical seekable bitstream.
ov_time_total Returns the total time length in seconds of a physical or logical seekable bitstream.
ov_raw_tell Returns the byte location of the next sample to be read, giving the approximate location in the stream that the decoding engine has reached.
ov_pcm_tell Returns the sample location of the next sample to be read, giving the approximate location in the stream that the decoding engine has reached.
ov_time_tell Returns the time location of the next sample to be read, giving the approximate location in the stream that the decoding engine has reached.
ov_info Returns the vorbis_info struct for a specific bitstream section.
ov_comment Returns attached comments for the current bitstream.



copyright © 2003 Xiph.org

Ogg Vorbis

Vorbisfile documentation

vorbisfile version 1.68 - 20030307