Jump to content
  • Advertisement

Archived

This topic is now archived and is closed to further replies.

Paladin__

Jim's Soundcore question? cSoundData?

This topic is 5826 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 grabbed the latest code from the site and it seems that the cSoundData is missing. I have a game I''m doing and I''m trying to just play wav files with his code. I went to the old sound code, and the sound plays like it should, but there''s a popping sound between when it plays. If I play it outside of the program, the sound is clean. Any ideas? Anyone mess with the sound core? Is there a new way to play wav files with the new code? Much greatness is achieved thru perseverance and faith.

Share this post


Link to post
Share on other sites
Advertisement
It was switched out because too many systems were having trouble with it (mainly Win2K/XP systems). It seems Microsoft changed the deal with threads in the new OSs and the stream doesn''t work as great. MS even changed their DX samples to not use threads for sound playing. There are ways to fix it, first by adding a call to update the sounds inside your message pump.

I went ahead and added sound playing functionality to the music classes Pal - you might want to download the Tower''s new WinMain.cpp and see how that now uses the music core to play sounds.

Share this post


Link to post
Share on other sites
btw Jim, You mentioned awhile back on having an update to some issues that people had found in the code. Any idea of an eta on that?

Much greatness is achieved thru perseverance and faith.

Share this post


Link to post
Share on other sites
I had to put that on hold until the new book is ready. Should be about the start of the year I hope. I should have a new web page, the new DX9 Game Core, and hopefully some new sample code.

Share this post


Link to post
Share on other sites
Guest Anonymous Poster
AHH your writing a new book Jim?

Where can I pre-order it, I''ve never been so happy with a book before as I have with your RPG book. Sweet lord.

By the way I have a voodoo5500 graphics card will I be able to develop for DX9 with an outdated card like that?

Share this post


Link to post
Share on other sites

  • Advertisement
×

Important Information

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

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!