Sound:isCompressed

Returns whether the Sound is compressed. Compressed sounds are loaded from compressed audio formats like MP3 and OGG. They use a lot less memory but require some extra CPU work during playback. Compressed sounds can not be modified using Sound:setFrames.

compressed = Sound:isCompressed()

Arguments

None

Returns

NameTypeDescription
compressedbooleanWhether the Sound is compressed.

See also