   Audio in OpenGL
  Is it possible to play an audio clip through openGL if so, how can i go about doing it?   
  G in OpenGL stands for graphics. No, it's not possible.   ;  oh well, thanks anyway :(   ;  Its impossible, OpenGL stands for Open Graphics Library, no mention of anything except for graphics. You'll want OpenAL or direct sound for that.  (Note, OpenAL is simply a direct sound WRAPPER on windows platforms unless you have a higher end sound card)cheers-Dan   ;  ok cheers, does c++ handle audio at all?   ;Quote:Original post by Masxok cheers, does c++ handle audio at all?Well, C++ by itself is nnothing more than a programming language. It can't handle graphics, audio, etc. whatsoever. However, there are libraries that you can use in C++-code to do your sound programming, OpenAL being one of them. (Well, that more C I guess, but ok..);  Nope. C++ is just the language. But you can still play sounds in a C++ program; even an OpenGL one ;)Find yourself an audio library (Ademan555 suggested OpenAL or DirectSound), and you can use the library to play sounds.;  cheers thanks guys, i'll look into it :)   ;  Hell, under windows you can even use the Win32 API winmm library for basic sound effects.   ;Quote:Original post by Ademan555(Note, OpenAL is simply a direct sound WRAPPER on windows platforms unless you have a higher end sound card)cheers-DanAh but if the client is using a Creative Sound Card(Which is the case quite often), OpenAL communicates directly with the hardware since OpenAL is implemented by Creative themselves and will likely give better performance then any other sound library. Then again, Sound is rarely the limiting factor in performance.Main thing is, OpenAL is portable and a must over DirectSound if you want to port your game to :Macintosh OS 8/9 Sound Manager Open Source (LGPL) Macintosh OS X Core Audio Open Source (LGPL) Linux OSS Open Source (LGPL) Linux ALSA Open Source (LGPL) BSD native Open Source (LGPL) Solaris native Open Source (LGPL) IRIX native Open Source (LGPL) Windows MMSYSTEM Open Source (LGPL)  DirectSound Open Source (LGPL)  DirectSound3D Open Source (LGPL)  NVIDIA nForce Open Source (LGPL)  Creative Audigy Creative Labs Inc.  Creative Audigy 2 Creative Labs Inc.  Creative Audigy 4 Creative Labs Inc.  Creative X-Fi Creative Labs Inc. Microsoft Xbox native Creative Labs Inc. Microsoft Xbox 360 native Creative Labs Inc. As you can see, DirectSound is not the only option for Windows.Also check out this list for the commerciral games using OpenAL:   