Changeset 180:a126eca82a37
- Timestamp:
- 05/13/12 09:17:17 (12 years ago)
- Branch:
- default
- Phase:
- public
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/mlx/sound.py
r176 r180 76 76 if not self._requests: 77 77 if self._pending: 78 timeout = max( time.time() - self._pending[0][0],78 timeout = max(self._pending[0][0] - time.time(), 79 79 0.0) 80 80 else: 81 81 timeout = 10.0 82 82 83 #print "Waiting", timeout 83 84 self._requestCondition.wait(timeout) 84 85
Note:
See TracChangeset
for help on using the changeset viewer.