sound Module#
Sound and music helpers.
Functions#
exit#
Unknown.
getDevices#
Unknown.
getLayouts#
Unknown.
getWaveInfo#
Unknown.
init#
Unknown.
pauseMusic#
Pauses the current music.
playMusic#
Plays a playlist.
| Parameter | Type | Required | Description |
|---|---|---|---|
playlist |
table<string> |
Yes | Table of filenames. |
playPreview#
Plays a preview of a sound file.
playSound#
Plays an ogg or wav sound file.
resumeMusic#
Resumes the current music.
setEffectsGain#
Sets effects gain.
setMusicGain#
Sets music gain.
stopMusic#
Stops the current music.
stopPreview#
Stops the preview.
update#
Unknown.
updateSettings#
Unknown.