Package pygsear :: Module Sound :: Class DummySound
[show private | hide private]
[frames | no frames]

Class DummySound


Mock sound object, for when sound is not working.

If Util.load_sound sees that the sound is not working, it will only hand out these mock objects which support all of the same methods as pygame.mixer.Sound objects, but which make no calls in to the actual sound system.
Method Summary
  fadeout(self, millisec)
  get_num_channels(self)
  get_volume(self)
  play(self, loops, maxtime)
  set_volume(self, val)
  stop(self)

Generated by Epydoc 2.0 on Sat Dec 9 14:11:19 2006 http://epydoc.sf.net