def get_init():
    """Determine if the mixer is initialized.

    If the mixer is initialized, this returns the playback arguments it
    is using. If the mixer has not been initialized this returns None

    The value of `size` follows the same conventions as in `init`.

    :rtype: (int, int, bool) or None
    :return: (frequency, size, stereo)
    """
    if not SDL_WasInit(SDL_INIT_AUDIO):
        return
    opened, frequency, format, channels = Mix_QuerySpec()
    if format & ~0xff:
        format = -(format & 0xff)
    return frequency, format, channels > 1
dataset/ETHPy150Open los-cocos/cocos/cocos/audio/pygame/mixer.py/get_init/original