Click here to Skip to main content
15,892,298 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
<Hello there,

I have a code runs on windows,which plays sound using playsound() function which needs windows.h,mmsystem.h and winmm.lib.

I need to run the same code in redhat linux which has kdevelop IDE.

i need equivalent function to playsound()
i need equivalent libraries and header files.
it would be helpful,if i'm getting any sample code to achieve this..

please help me
Posted
Updated 30-Mar-12 0:50am
v3

If your question begins with "I need" (and three of yours do), then you should try this[^] first.
 
Share this answer
 
In KDE4 you can use the Phonon API. See the example code[^] and the API documentation[^].
 
Share this answer
 

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



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900