Beispiel #1
0
 def _init_queue(self):
     err = S.snd_seq_alloc_named_queue(self.client, self.alsa_queue_name)
     if err < 0: self._error(err)
     self.queue = err
     adjtempo = int(60.0 * 1000000.0 / self.sequencer_tempo)
     S.init_queue_tempo(self.client, self.queue, 
                         adjtempo, self.sequencer_resolution)
Beispiel #2
0
 def _init_queue(self):
     err = S.snd_seq_alloc_named_queue(self.client, self.alsa_queue_name)
     if err < 0: self._error(err)
     self.queue = err
     adjtempo = int(60.0 * 1000000.0 / self.sequencer_tempo)
     S.init_queue_tempo(self.client, self.queue, 
                         adjtempo, self.sequencer_resolution)