Playing sounds
Yeah, I know that OpenGL''s a graphics API and doesn''t "do" sounds, but I''m using it with C++ to produce an animated sequence and need to play a wav file alongside it. What methods do you OpenGL users use to play sound? All I need is to play the file straight off so not looking for methods where I can manipulate the file or anything, just need to be able to say "here''s the file, play it".
FMOD
or
SDL
SDL also provides you with an easy way to get a gl RC without to much effort... No need to reinvent the wheel..
Doesn't the win32 api supply you with a function to play wave files also?? Better check out MSDN for that..
[edit]stupid html tags...
[edit]bah!
[edited by - Rickmeister on April 20, 2004 6:32:45 AM]
[edited by - Rickmeister on April 20, 2004 6:37:47 AM]
or
SDL
SDL also provides you with an easy way to get a gl RC without to much effort... No need to reinvent the wheel..
Doesn't the win32 api supply you with a function to play wave files also?? Better check out MSDN for that..
[edit]stupid html tags...
[edit]bah!
[edited by - Rickmeister on April 20, 2004 6:32:45 AM]
[edited by - Rickmeister on April 20, 2004 6:37:47 AM]
PlaySound() or sndPlaySound() in WinAPI
or you can use OpenAL, I''ve heard this is good for OpenGL users, the coding style is similar...and it does 3D sound well...
or you can use OpenAL, I''ve heard this is good for OpenGL users, the coding style is similar...and it does 3D sound well...
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement