TimeUnit.lua 496 B

123456789101112131415161718
  1. return {
  2. summary = 'Time units for sound samples.',
  3. description = [[
  4. When figuring out how long a Source is or seeking to a specific position in the sound file,
  5. units can be expressed in terms of seconds or in terms of frames. A frame is one set of samples
  6. for each channel (one sample for mono, two samples for stereo).
  7. ]],
  8. values = {
  9. {
  10. name = 'seconds',
  11. description = 'Seconds.'
  12. },
  13. {
  14. name = 'frames',
  15. description = 'Frames.'
  16. }
  17. }
  18. }