Click here to Skip to main content
13,052,494 members (60,413 online)
Rate this:
Please Sign up or sign in to vote.
See more:
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 :)

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 :(
Thank you
Posted 6-Dec-12 12:56pm
Snk Tay380

1 solution

Rate this: bad
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.
Member 10470363 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
Top Experts
Last 24hrsThis month

Advertise | Privacy | Mobile
Web02 | 2.8.170713.1 | Last Updated 7 Dec 2012
Copyright © CodeProject, 1999-2017
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