Page
Library
Module
Module type
Parameter
Class
Class type
Source
Vorbis
Source* Decode from or encode to the Ogg Vorbis compressed audio format; * or get informations about an Ogg Vorbis file. * *
The call returned a 'false' status (eg, ov_bitrate_instant * can return OV_FALSE if playback is not in progress, and thus * there is no instantaneous bitrate information to report.
Some parameters are invalid for this function.
The given number of channels is invalid.
Invalid setup request, e.g. out of range argument.
The given file could not be opened.
Bitstream is not Vorbis data.
Invalid Vorbis bitstream header.
A read from media returned an error.
Ogg packet doesn't contain audio data
Internal logic fault; indicates a bug or heap/stack corruption.
Indicates there was an interruption in the data (one of: garbage between * pages, loss of sync followed by recapture, or a corrupt page).
Indicates that an invalid stream section was supplied, * or the requested link is corrupt.
Invalid Vorbis bitstream header.
Unimplemented mode.
An unknown error happened (it should not have happened, please report).
Error while converting utf8.
Return a string representation * of an exception
Index of a logical bitstream. The special value -1 means the physical * bitsream.
type info = {
vorbis_version : int;
version of vorbis codec, must be 0
*)audio_channels : int;
number of audio channels
*)audio_samplerate : int;
samplerate in Hertz
*)bitrate_upper : int;
bitrate_nominal : int;
bitrate_lower : int;
bitrate_window : int;
}
Vorbis informations about a file.
Create a list of vorbis tags.