tell.lua 507 B

1234567891011121314151617181920
  1. return {
  2. summary = 'Get the playback position of the Source.',
  3. description = 'Returns the current playback position of the Source.',
  4. arguments = {
  5. {
  6. name = 'unit',
  7. type = 'TimeUnit',
  8. default = [['seconds']],
  9. description = 'The unit to return.'
  10. }
  11. },
  12. returns = {
  13. {
  14. name = 'position',
  15. type = 'number',
  16. description = 'The current playback position.'
  17. }
  18. },
  19. notes = 'The return value for Sources backed by a stream `Sound` has no meaning.'
  20. }