Sound....

coldfusion244

Well-known member
Joined
Nov 24, 2004
Messages
266
Location
Philadelphia
Hi,

I am new to .NET, and I want to incorporate sound into my application. In VS6.0 I used the API SndPlaySound to play wave audio files. Is there a feature built into .NET to allow sounds? The second part of my question is can you hear sounds using SndPlaySound API or the .NET built in sound functions even if youre in the middle of playing a DirectX based game. Should I just use DirectSound?

Thank you guys :)
 
Sounds are only built in to .NET 2005, but you should be able to hear the sounds if you are using a DirectX-based game (unless the DirectX Sound drowns it out ;) ).

You can use [api]PlaySound[/api] to Play WAVE files. Youll just have to change the declarations Longs to Integers. :)
 
Iceplug said:
Sounds are only built in to .NET 2005, but you should be able to hear the sounds if you are using a DirectX-based game (unless the DirectX Sound drowns it out ;) ).
WHAT? Cant they just release a damn framework upgrade for this (For 2003), its not like were all rich and we can afford buying .NET almost every year.
 
WHAT? Cant they just release a damn framework upgrade for this (For 2003), its not like were all rich and we can afford buying .NET almost every year.
Haha, trueness! Just think, in 2007 there will be ANOTHER one... most likely. A new OS is coming (longhorn) new Office, just think you get to buy 3 $100+ pieces of software from them every 3 years! woohooo!
 
coldfusion244 said:
Haha, trueness! Just think, in 2007 there will be ANOTHER one... most likely. A new OS is coming (longhorn) new Office, just think you get to buy 3 $100+ pieces of software from them every 3 years! woohooo!
But yet they still get their money becuase people buy them anyways.... :S Dammit. Competition is what they need. friggin monopoly........

Bah theres nothing we can do about it.... unless of course you want to start your own company which beats the living hell out of microsoft ;).
 
ThePentiumGuy said:
But yet they still get their money becuase people buy them anyways.... :S Dammit. Competition is what they need. friggin monopoly........

Bah theres nothing we can do about it.... unless of course you want to start your own company which beats the living hell out of microsoft ;).


Ill get right on that :p ;)
 
Back
Top