Browse Source

showbase: fix erroneous docstring (audio unit is metres by default)

rdb 5 years ago
parent
commit
8672054e30
1 changed files with 2 additions and 2 deletions
  1. 2 2
      direct/src/showbase/Audio3DManager.py

+ 2 - 2
direct/src/showbase/Audio3DManager.py

@@ -35,7 +35,7 @@ class Audio3DManager:
     def setDistanceFactor(self, factor):
         """
         Control the scale that sets the distance units for 3D spacialized audio.
-        Default is 1.0 which is adjust in panda to be feet.
+        Default is 1.0 which is adjust in panda to be meters.
         When you change this, don't forget that this effects the scale of setSoundMinDistance
         """
         self.audio_manager.audio3dSetDistanceFactor(factor)
@@ -43,7 +43,7 @@ class Audio3DManager:
     def getDistanceFactor(self):
         """
         Control the scale that sets the distance units for 3D spacialized audio.
-        Default is 1.0 which is adjust in panda to be feet.
+        Default is 1.0 which is adjust in panda to be meters.
         """
         return self.audio_manager.audio3dGetDistanceFactor()