예제 #1
0
파일: mixer.py 프로젝트: d42/py_soundboard
 def __init__(self):
     super().__init__()
     init_sdl()
     self.chunks = {}
예제 #2
0
 def __init__(self, joystick_id, mapping=None, offset=0):
     super(RawSDLJoystick, self).__init__(mapping, offset)
     init_sdl()
     self.joystick = self.open_joystick(joystick_id)
예제 #3
0
 def __init__(self, joystick_id, offset=0):
     super().__init__(offset)
     init_sdl()
     self.joystick = self.open_joystick(joystick_id)
예제 #4
0
파일: mixer.py 프로젝트: d42/py_soundboard
 def __init__(self, channel=0):
     super(SDLMixer, self).__init__()
     init_sdl()
     self.chunks = {}
예제 #5
0
파일: mixer.py 프로젝트: q3k/py_soundboard
 def __init__(self, channel=0):
     super(SDLMixer, self).__init__()
     self.sound_queue = deque()
     init_sdl()
     self.chunks = {}