Type Function Library media.* Return value Number Revision 2017.3060 Keywords media, sound, volume, audio See also media.playSound() media.getSoundVolume()
Returns the current volume setting for playback of extended sounds (media.playSound()).
media.getSoundVolume()
local current_volume = media.getSoundVolume() print( current_volume )