Jump to content
  • Advertisement
Sign in to follow this  
Anosch

dsound or sndPlaySound

This topic is 3230 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

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
Advertisement
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
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

Participate in the game development conversation and more when you create an account on GameDev.net!

Sign me up!