Hello.
If I want to play a sound that is not in wav format what should I do ?
Thanks :)
Loading
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Tanmay SarkarPosted Aug 5, 2010, 11:44 PM
You can check it, in XP the path is "C:\WINDOWS\system32\winmm.dll"
Thank you!
Please mark that as a n answer If that help you.
Sam HobbsPosted Aug 6, 2010, 12:09 AM
Note that there are many ways to play sounds. You can use the old Windows API functions that play sounds using the computer speaker; the speaker is not a good speaker. Or you can use old Windows functions called Windows Multimedia, which is what Tanmay is suggesting. It is old but if it does what you need done then you can use it. Windows Multimedia existed in 16-bit Windows but it still works in 32-bit Windows and such.
When Microsoft created 32-bit Windows they purchased software that they renamed DirectX. Part of DirectX is DirectSound. They have minor problems with .Net but very minor. You can try using DirectSound (it might be called something else now) and if you do it can do many things.
There might be something new for .Net but if so then I don't know what it is.
If you can be more specific about what you want to play then hopefully someone can be more specific in thier answer.
Majid KamaliPosted Aug 5, 2010, 11:35 PM
Thank you.
Tanmay SarkarPosted Aug 5, 2010, 11:20 PM
Thank you!
Please mark it as an answer if it help you!