def __init__(self, id):
        """Create a Channel object for controlling playback.

        Create a Channel object for one of the current channels. The id must
        be a value from 0 to the value of pygame.mixer.get_num_channels().

        :Parameters:
            `id` : int
                ID of existing channel to create object for.
        """
        self._id = id
        if id not in _channels:
            self._sound = None
            self._queue = None
            self._endevent = SDL_NOEVENT
            _channels[id] = self
dataset/ETHPy150Open los-cocos/cocos/cocos/audio/pygame/mixer.py/Channel.__init__/original