Ejemplo n.º 1
0
 def get_sound(self):
     is_busy = sound.busy(self.id)
     if not is_busy:
         return
     serial = sound.playing_name(self.id)
     if not serial:
         return
     return sounds.get(serial, None)
Ejemplo n.º 2
0
def get_busy():
    for i in range(0, num_channels):
        if sound.busy(i):
            return True

    return False
Ejemplo n.º 3
0
    def get_sound(self):
        rv = sound.busy(self.id)
        if rv is not None:
            rv = sounds.get(rv, None)

        return rv
Ejemplo n.º 4
0
 def get_busy(self):
     return sound.busy(self.id)
Ejemplo n.º 5
0
def get_busy():
    for i in range(0, num_channels):
        if sound.busy(i):
            return True

    return False
Ejemplo n.º 6
0
    def get_sound(self):
        rv = sound.busy(self.id)
        if rv is not None:
            rv = sounds.get(rv, None)

        return rv
Ejemplo n.º 7
0
 def get_busy(self):
     return sound.busy(self.id)