Changeset 176:cb593ff93551 for src/mlx/sound.py
- Timestamp:
- 05/13/12 08:17:00 (12 years ago)
- Branch:
- default
- Phase:
- public
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/mlx/sound.py
r170 r176 59 59 def requestSound(self, name, finishCallback = None, extra = None): 60 60 """Request the playback of the sound with the given name.""" 61 path = os.path.join(self._soundsDirectory, name) 61 path = name if os.path.isabs(name) \ 62 else os.path.join(self._soundsDirectory, name) 62 63 with self._requestCondition: 63 64 self._requests.append((path, (finishCallback, extra))) … … 167 168 168 169 FIXME: it does not do anything currently, but it should.""" 169 p ass170 print "sound.startSound:", name 170 171 171 172 #------------------------------------------------------------------------------
Note:
See TracChangeset
for help on using the changeset viewer.