开发者

How can I add a mp3 track to a simple OpenGL game?

开发者 https://www.devze.com 2023-01-24 16:54 出处:网络
I\'m writing a simple shooter, using basic opengl functionality开发者_开发知识库 (glut and glui). I\'d like to add a couple of mp3 tracks to the game to play conditionally (level start, death, etc.)If

I'm writing a simple shooter, using basic opengl functionality开发者_开发知识库 (glut and glui). I'd like to add a couple of mp3 tracks to the game to play conditionally (level start, death, etc.)


If don't need any special features such as directional sound, the MCIWnd functions are a simple way to play audio files.

0

精彩评论

暂无评论...
验证码 换一张
取 消