Playing sounds

Started by
2 comments, last by Med 19 years, 12 months ago
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".
Advertisement
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]
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...
Sup guys?
Cheers for the help, I now have sound :D

This topic is closed to new replies.

Advertisement