Changeset 573:af59e3bbe92e for src/mlx/sound.py
- Timestamp:
- 12/06/14 14:01:58 (9 years ago)
- Branch:
- default
- Phase:
- public
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/mlx/sound.py
r422 r573 172 172 extra = extra) 173 173 174 def finalizeSound(): 175 """Finalize the sound handling.""" 176 pass 177 174 178 #------------------------------------------------------------------------------ 175 179 … … 243 247 super(SoundThread, self).__init__() 244 248 245 self.daemon = True249 self.daemon = False 246 250 self.eventLoop = SoundThread.EventLoop(soundsDirectory) 247 251 … … 269 273 extra = extra) 270 274 275 def finalizeSound(): 276 """Finalize the sound handling.""" 277 pyglet.app.exit() 278 271 279 except: 272 280 print "The pyglet library is missing from your system. It is needed for sound playback on Linux" … … 281 289 FIXME: it does not do anything currently, but it should.""" 282 290 print "sound.startSound:", name 291 292 def finalizeSound(): 293 """Finalize the sound handling.""" 294 pass 283 295 284 296 #------------------------------------------------------------------------------
Note:
See TracChangeset
for help on using the changeset viewer.