Sign in to follow this  
Anosch

dsound or sndPlaySound

Recommended Posts

I'm not experienced in handling/programming music and so I'm reading through sources to get an idea how to play background sounds. to me it seems that there are 2 (major) ways: directsound or the system-build-in functions. what is the downside of using dsound except you need directx installed? an disadvantage of sndPlaySound is that you don't know exactly where the playback is (position in time). are there other?

Share this post


Link to post
Share on other sites
If you just want to play some sound files ( mp3, wav, etc) use library like fmod, bass. If you want to write your own software synthesizer both ways are correct, but as adt7 said DirectSound is deprecated :)

PS. ask this question in Sound forum they should know better :)

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this