Click here to Skip to main content
11,431,829 members (58,794 online)
Rate this: bad
good
Please Sign up or sign in to vote.
See more: C++ OpenGL
Hi to all

Fist of all i am sorry about this question but i need your help!!!
I had also problem with subwindows in OpenGL and you solved my problem, THANK YOU CODEPROJECT Smile | :)

I have to add sound in my OpenGL project could some help me with this!

I cant add sound in OpenGL even in C++!
I have seen examples by using PlaySound() method in c++ but i couldn't make it work!!

Could you give any link that can help or something else!!!

I know that is not a good question Frown | :(
Thank you
Posted 6-Dec-12 13:56pm
Snk Tay376

1 solution

Rate this: bad
good
Please Sign up or sign in to vote.

Solution 1

OpenGL is meant for rendering graphics only.

Have a look at OpenAL if you are developing a cross-platform application. You can also use DirectSound (part of DirectX API) if you are developing a Windows only application.
  Permalink  
Comments
Member 10470363 at 29-Dec-13 15:12pm
   
Please help me out how do i add sound to my project in c# and opengl

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



Advertise | Privacy | Mobile
Web03 | 2.8.150428.2 | Last Updated 7 Dec 2012
Copyright © CodeProject, 1999-2015
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100