VolumeUnit.lua 401 B

1234567891011121314151617
  1. return {
  2. summary = 'Different units of volume.',
  3. description = [[
  4. When accessing the volume of Sources or the audio listener, this can be done in linear units
  5. with a 0 to 1 range, or in decibels with a range of -∞ to 0.
  6. ]],
  7. values = {
  8. {
  9. name = 'linear',
  10. description = 'Linear volume range.'
  11. },
  12. {
  13. name = 'db',
  14. description = 'Decibels.'
  15. }
  16. }
  17. }