Click here to Skip to main content
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 12: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)

  Print Answers RSS
Your Filters
Interested
Ignored
     
0 Sergey Alexandrovich Kryukov 695
1 OriginalGriff 518
2 Abhinav S 313
3 thatraja 245
4 CPallini 130
0 Sergey Alexandrovich Kryukov 8,372
1 OriginalGriff 4,830
2 Peter Leow 3,784
3 Maciej Los 3,515
4 Er. Puneet Goel 3,107


Advertise | Privacy | Mobile
Web04 | 2.8.140415.2 | Last Updated 7 Dec 2012
Copyright © CodeProject, 1999-2014
All Rights Reserved. Terms of Use
Layout: fixed | fluid