예제 #1
0
def get_num_channels():
    """get the total number of playback channels"""
    check_mixer()
    return sdl.Mix_GroupCount(-1)
예제 #2
0
 def get_num_channels(self):
     """ get_num_channels() -> count
     count how many times this Sound is playing
     """
     check_mixer()
     return sdl.Mix_GroupCount(self._chunk_tag)