GGSound allows for easy management of sound effects and global volume in your Corona SDK powered apps.
local GGSound = require( "GGSound" )
local sound = GGSound:new{ 1, 2, 3 } -- Create the library passing in some channel numbers, these should be reserved by you.
sound:add( "sound1.wav", "sound1" )
sound:add( audio.loadStream( "sound2.wav" ), "sound2" ) -- A preloaded sound.
sound:setVolume( 0.8 )
sound:play( "sound2" )
sound.enabled = false
sound:remove( "sound2" )
sound:removeAll()
sound:destroy()
sound = nil
Initial release