Browse Source

*** empty log message ***

Cary Sandvig 25 years ago
parent
commit
311aae0a0e
1 changed files with 3 additions and 12 deletions
  1. 3 12
      direct/src/showbase/Loader.py

+ 3 - 12
direct/src/showbase/Loader.py

@@ -69,23 +69,14 @@ class Loader:
         return texture
         return texture
 
 
     # sound loading funcs
     # sound loading funcs
-    def loadSample(self, samplePath):
+    def loadSound(self, soundPath):
         """loadSample(self, string)
         """loadSample(self, string)
         Attempt to load a sound from the given file path using
         Attempt to load a sound from the given file path using
         Cary's sound class. Returns None if not found"""
         Cary's sound class. Returns None if not found"""
-        Loader.notify.info("Loading sound: %s" % (samplePath) )
-        sound = self.__audioPool.loadSample(samplePath)
+        Loader.notify.info("Loading sound: %s" % (soundPath) )
+        sound = self.__audioPool.loadSound(soundPath)
         return sound
         return sound
 
 
-    def loadMusic(self, musicPath):
-        """loadMusic(self, string)
-        Attempt to load music from the given file path using
-        Cary's sound class. Returns None if not found"""
-        Loader.notify.info("Loading music: %s" % (musicPath) )
-        music = self.__audioPool.loadMusic(musicPath)
-        return music
-
-