getSampleCount.lua 374 B

12345678910111213141516
  1. return {
  2. summary = 'Get the number of samples stored in the Sound.',
  3. description = 'Returns the total number of samples in the Sound.',
  4. arguments = {},
  5. returns = {
  6. {
  7. name = 'samples',
  8. type = 'number',
  9. description = 'The total number of samples in the Sound.'
  10. }
  11. },
  12. related = {
  13. 'Sound:getChannelCount',
  14. 'Source:getDuration'
  15. }
  16. }