コード例 #1
0
ファイル: mixer.py プロジェクト: 423230557/python-for-android
 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)
コード例 #2
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)
コード例 #3
0
ファイル: mixer.py プロジェクト: 423230557/python-for-android
def get_busy():
    for i in range(0, num_channels):
        if sound.busy(i):
            return True

    return False
コード例 #4
0
ファイル: mixer.py プロジェクト: 423230557/python-for-android
 def get_busy(self):
     return sound.busy(self.id)
コード例 #5
0
def get_busy():
    for i in range(0, num_channels):
        if sound.busy(i):
            return True

    return False
コード例 #6
0
 def get_busy(self):
     return sound.busy(self.id)