def get_num_channels(): """get the total number of playback channels""" check_mixer() return sdl.Mix_GroupCount(-1)
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)