AudioShareMode.lua 643 B

12345678910111213141516171819202122
  1. return {
  2. summary = 'How audio devices are shared on the system.',
  3. description = [[
  4. Audio devices can be created in shared mode or exclusive mode. In exclusive mode, the audio
  5. device is the only one active on the system, which gives better performance and lower latency.
  6. However, exclusive devices aren't always supported and might not be allowed, so there is a
  7. higher chance that creating one will fail.
  8. ]],
  9. values = {
  10. {
  11. name = 'shared',
  12. description = 'Shared mode.'
  13. },
  14. {
  15. name = 'exclusive',
  16. description = 'Exclusive mode.'
  17. }
  18. },
  19. related = {
  20. 'lovr.audio.setDevice'
  21. }
  22. }