getChannelCount.lua 398 B

123456789101112131415
  1. return {
  2. summary = 'Get the number of channels in the Sound.',
  3. description = [[
  4. Returns the number of channels in the Sound. Mono sounds have 1 channel, stereo sounds have 2
  5. channels, and ambisonic sounds have 4 channels.
  6. ]],
  7. arguments = {},
  8. returns = {
  9. {
  10. name = 'channels',
  11. type = 'number',
  12. description = 'The number of channels in the sound.'
  13. }
  14. }
  15. }