*** empty log message ***

This commit is contained in:
Cary Sandvig 2000-10-20 00:19:29 +00:00
parent 7811638810
commit 311aae0a0e

View File

@ -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) ) Loader.notify.info("Loading sound: %s" % (soundPath) )
sound = self.__audioPool.loadSample(samplePath) 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