Ignore:
Timestamp:
05/13/12 08:17:00 (12 years ago)
Author:
István Váradi <ivaradi@…>
Branch:
default
Phase:
public
Message:

Checklist playback seems to work

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/mlx/sound.py

    r170 r176  
    5959        def requestSound(self, name, finishCallback = None, extra = None):
    6060            """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)
    6263            with self._requestCondition:
    6364                self._requests.append((path, (finishCallback, extra)))
     
    167168
    168169        FIXME: it does not do anything currently, but it should."""
    169         pass
     170        print "sound.startSound:", name
    170171
    171172#------------------------------------------------------------------------------
Note: See TracChangeset for help on using the changeset viewer.