GE Lua Documentation

Press F to search!

getAudioChannelsVolume

Definition


-- @/lua/ge/ge_utils.lua:606

function getAudioChannelsVolume()
  local lastVolumes = {}
  local callback = function(name, audio)
    lastVolumes[name] = audio.getVolume()
  end
  forEachAudioChannel(callback)
  return lastVolumes
end

Callers