Browse Source

Fix lovr.audio.getDevice summary;

bjorn 1 year ago
parent
commit
3815941b2d
2 changed files with 2 additions and 2 deletions
  1. 1 1
      api/init.lua
  2. 1 1
      api/lovr/audio/getDevice.lua

+ 1 - 1
api/init.lua

@@ -1305,7 +1305,7 @@ return {
         {
         {
           name = "getDevice",
           name = "getDevice",
           tag = "devices",
           tag = "devices",
-          summary = "Switch audio devices.",
+          summary = "Get the current audio device.",
           description = "Returns information about the active playback or capture device.",
           description = "Returns information about the active playback or capture device.",
           key = "lovr.audio.getDevice",
           key = "lovr.audio.getDevice",
           module = "lovr.audio",
           module = "lovr.audio",

+ 1 - 1
api/lovr/audio/getDevice.lua

@@ -1,6 +1,6 @@
 return {
 return {
   tag = 'devices',
   tag = 'devices',
-  summary = 'Switch audio devices.',
+  summary = 'Get the current audio device.',
   description = 'Returns information about the active playback or capture device.',
   description = 'Returns information about the active playback or capture device.',
   arguments = {
   arguments = {
     type = {
     type = {