testSounds
Definition
-- @/lua/ge/ge_utils.lua:623
-- TODO remove
function testSounds()
paramGroupG = SFXParameterGroup()
paramGroupG:setPrefixFilter('global_')
paramGroupG:registerObject('')
paramGroupA = SFXParameterGroup()
paramGroupA:registerObject('')
paramGroupB = SFXParameterGroup()
paramGroupB:registerObject('')
soundA = Engine.Audio.createSource2('AudioGui', 'event:>TestGroup>TestEvent')
paramGroupA:addSource(soundA)
soundB = Engine.Audio.createSource2('AudioGui', 'event:>TestGroup>TestEvent')
paramGroupB:addSource(soundB)
soundA:play(-1)
soundB:play(-1)
paramGroupA:setParameterValue('test0', 0)
paramGroupB:setParameterValue('test0', 0)
end
Callers