Jump to content

  • Log In with Google      Sign In   
  • Create Account

DirectSound or XAudio2


Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.

  • You cannot reply to this topic
6 replies to this topic

#1 SIC Games   Members   -  Reputation: 617

Like
0Likes
Like

Posted 23 May 2014 - 08:48 PM

Previously, I used DirectSound and it worked out fantastic. Even on a Windows 8.1 system. The only issue I had was when the "player" approaches a sound located at 0,0,0 - I wanted the volume of the sound to increase based upon it's distance relative to the sound location.

 

I did some more research and found DirectSound to be depreciated and to use XAudio2. I viewed some tutorials on XAudio2 and got sound playing - however, because it was in a while loop it locked up my editor.

 

I want more clarification whether or not to use DirectSound even though it's depreciated or continue on with XAudio2? Do modern games still use DirectSound or XAudio2?


Game Engine's WIP Videos - http://www.youtube.com/sicgames88


Sponsor:

#2 cozzie   Members   -  Reputation: 1616

Like
5Likes
Like

Posted 24 May 2014 - 11:50 AM

If you are starting with one of them, I'd go for xaudio2, because it's the latest available and fully supported. Personally I use FMOD api, works perfect for me, also with 3D/ positional audio.

#3 kubera   Members   -  Reputation: 924

Like
0Likes
Like

Posted 24 May 2014 - 03:19 PM

Yes, XAudio 2 supports even WinXP.



#4 SIC Games   Members   -  Reputation: 617

Like
0Likes
Like

Posted 24 May 2014 - 05:24 PM

If you are starting with one of them, I'd go for xaudio2, because it's the latest available and fully supported. Personally I use FMOD api, works perfect for me, also with 3D/ positional audio.

I'll try out FMOD only because I heard it on a lot of game titles. However, will there be a issue with compiling the FMOD API library in my game engine Dynamic Library?


Game Engine's WIP Videos - http://www.youtube.com/sicgames88


#5 SIC Games   Members   -  Reputation: 617

Like
1Likes
Like

Posted 24 May 2014 - 08:10 PM

FMOD was really easy to implemend! I love it! Great suggestion Cozzie!


Game Engine's WIP Videos - http://www.youtube.com/sicgames88


#6 cozzie   Members   -  Reputation: 1616

Like
0Likes
Like

Posted 25 May 2014 - 02:55 AM

You're welcome ;)



#7 grogon   Members   -  Reputation: 185

Like
0Likes
Like

Posted 01 June 2014 - 11:20 AM

What version of FMOD you go with? Studio or Ex?


♫♪♩♫

.sound effects ♦ music ♦ for games.

♫♪♩♫





Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.



PARTNERS