class MinWii(object):
- def __init__(self, wiimoteSupport=True, fullscreen=False) :
+ def __init__(self, wiimoteSupport=True, fullscreen=False, audioDriver=None) :
envLogger.info('winwii log format version : %s', LOG_FORMAT_VERSION)
self.wiimoteSupport = wiimoteSupport
self.fullscreen = fullscreen
themedir = os.path.sep.join(themedir)
theme = Theme(themedir)
self.app = Desktop(theme=theme)
- self.synth = Synth()
+ self.synth = Synth(driver=audioDriver)
self.screenResolution = SCREEN_RESOLUTION
envLogger.info('résolution écran : %s', self.screenResolution)
self.nwiimotes = 0