def quit(): global pcm_ok global mix_ok if not pcm_ok: return for c in all_channels: c.dequeue() c.fadeout(0) c.queue = [ ] c.loop = [ ] c.playing = False c.playing_midi = False c.wait_stop = False c.synchro_start = False pss.quit() pcm_ok = None mix_ok = None
def quit(): #@ReservedAssignment global pcm_ok global mix_ok if not pcm_ok: return for c in all_channels: c.dequeue() c.fadeout(0) c.queue = [] c.loop = [] c.playing = False c.playing_midi = False c.wait_stop = False c.synchro_start = False pss.quit() pcm_ok = None mix_ok = None