flac package

License

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

Classes

FLACLoader : SoundLoader

FLACLoader reads FLAC files. Only 1- and 2-channel 8- or 16-bit FLACs are supported.

FLACLoader has no methods it didn't inherit.

flac_loader = SubCritical.Construct("FLACLoader")

FLACStream : SoundStream

A stream of audio data from a FLAC file. Only 1- and 2-channel 8- or 16-bit FLACs 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("FLACStream", path)
Create a FLACStream from the file at path.
tags = stream:GetTags()
tags is an array of strings of the form "key=value" containing all the "Vorbis comment" / "FLAC tag" information in the source file.

Back to index