AudioType.lua 542 B

1234567891011121314151617181920212223
  1. return {
  2. summary = 'Different types of audio devices',
  3. description = [[
  4. When referencing audio devices, this indicates whether it's the playback or capture device.
  5. ]],
  6. values = {
  7. {
  8. name = 'playback',
  9. description = 'The playback device (speakers, headphones).'
  10. },
  11. {
  12. name = 'capture',
  13. description = 'The capture device (microphone).'
  14. }
  15. },
  16. related = {
  17. 'lovr.audio.getDevices',
  18. 'lovr.audio.setDevice',
  19. 'lovr.audio.start',
  20. 'lovr.audio.stop',
  21. 'lovr.audio.isStarted'
  22. }
  23. }