| 12345678910111213141516171819202122232425 |
- return {
- summary = 'Check if the Sound is compressed.',
- description = [[
- 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`.
- ]],
- arguments = {},
- returns = {
- compressed = {
- type = 'boolean',
- description = 'Whether the Sound is compressed.'
- }
- },
- variants = {
- {
- arguments = {},
- returns = { 'compressed' }
- }
- },
- related = {
- 'Sound:isStream',
- 'lovr.data.newSound'
- }
- }
|