vorbis package

License

The vorbis package is marked as Compatible, which means any game can use it.

Classes

VorbisLoader : SoundLoader

VorbisLoader reads Ogg Vorbis files. Only 1- and 2-channel 8- or 16-bit streams are supported.

VorbisLoader has no methods it didn't inherit.

vorbis_loader = SubCritical.Construct("VorbisLoader")

VorbisStream : SoundStream

A stream of audio data from an Ogg Vorbis file. Only 1- and 2-channel 8- or 16-bit streams are supported. The stream loops back to the position denoted by the LOOP_START tag (if present; the beginning if absent) upon reaching the position denoted by the LOOP_END tag (if present; the end if absent).

stream = SubCritical.Construct("VorbisStream", path)
Create a VorbisStream from the file at path.
tags = stream:GetTags()
tags is an array of strings of the form "key=value" containing all the "tag" information in the source file.

Back to index