Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我有一个使用 GLFW 进行窗口创建和输入的游戏。是否可以在没有 SDL 的情况下将 SDL_mixer 用于音频?
因为它依赖于 SDL 标头。在 SDL_mixer.h 的开头有以下几行:
#include "SDL_stdinc.h" #include "SDL_rwops.h" #include "SDL_audio.h" #include "SDL_endian.h" #include "SDL_version.h" #include "begin_code.h"