def SDL_Init(flags):
    if sys.platform == 'darwin' and flags & SDL_INIT_VIDEO:
        import cocos.audio.SDL.darwin
        cocos.audio.SDL.darwin.init()
    return _SDL_Init(flags)
Initialise the SDL library.
dataset/ETHPy150Open los-cocos/cocos/cocos/audio/SDL/__init__.py/SDL_Init