Author Topic: [Solved] DirectSound Exception  (Read 4299 times)

Offline wjmosiris

  • Newbie
  • *
  • Posts: 3
[Solved] DirectSound Exception
« on: October 22, 2009, 10:32:58 pm »
I am getting the following error trying to launch the game:

Code: [Select]
10/22/2009 9:10:34 PM (2.0)
-----------------------------------CurrentDomain_UnhandledException-----------------------------------
SlimDX.DirectSound.DirectSoundException: Unknown: n/a (-2004287480)
   at SlimDX.Result.Throw[T](Object dataKey, Object dataValue)
   at SlimDX.Result.Record[T](Int32 hr, Boolean failed, Object dataKey, Object dataValue)
   at SlimDX.DirectSound.SoundBuffer.Play(Int32 priority, PlayFlags flags)
   at AIWar.GameMusic.DataTransferActivity() in C:\vcprojs\AIWar\DX\GameMusic.cs:line 208
   at System.Threading.ThreadHelper.ThreadStart_Context(Object state)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
   at System.Threading.ThreadHelper.ThreadStart()

Any assistance would be greatly appreciated.

« Last Edit: October 23, 2009, 08:28:36 am by Fiskbit »

Offline Revenantus

  • Arcen Games Staff
  • Hero Member Mark III
  • *****
  • Posts: 1,063
Re: DirectSound Exception
« Reply #1 on: October 23, 2009, 12:17:41 am »
Hi wjmosiris,

Have you ensured that the game's prerequisites have been installed correctly? Occasionally the installations can become damaged for various reasons - http://arcengames.com/forums/index.php/topic,1811.0.html

Making sure that your graphics drivers are up to date is also recommended.

Which version of the game are you running, and which platform did you purchase it through?

I apologize for the trouble you're having.

Regards,
Revenantus
« Last Edit: October 23, 2009, 01:04:14 am by Revenantus »

Offline eRe4s3r

  • Core Member Mark II
  • *****
  • Posts: 2,825
Re: DirectSound Exception
« Reply #2 on: October 23, 2009, 12:43:03 am »
Lo - the error has something to do with your sound-driver.. until someone professional gets here you might want to update your audio driver though, its from 2007 and the latest HD realtek driver is from 2009 but i am not sure this is exactly the issue you have. But given its a dsound error it has definitely something to do with the sound part of your system. (Though whether a new driver fixes it remains to be seen... knowing realtek..)

http://www.realtek.com.tw is the site you want to check of drivers for your integrated audio thing
Proud member of the Initiative for Bigger Weapons EV. - Bringer of Additive Blended Doom - Vote for Lore, get free cookie

Offline Fiskbit

  • Arcen Games Contractor
  • Master Member Mark III
  • *****
  • Posts: 1,752
Re: DirectSound Exception
« Reply #3 on: October 23, 2009, 05:55:52 am »
Hi there. Like eRe4s3r, I recommend ensuring your audio drivers are up to date, as your error appears to be audio related. A reinstall of SlimDX may also be in order, if that doesn't work.

Chris (x4000) will surely be by today to respond to the various tech support issues that we have been unable to figure out, so in the event these don't work or the error indicates something else, he should be able to point you in the correct direction.

Sorry for the trouble. We'll do what we can to help you get it sorted out soon!
Have ideas or bug reports for one of our games?  Click here to get started with Mantis for Suggestions and Bug Reports.  Thanks for helping to make our games better!

Offline wjmosiris

  • Newbie
  • *
  • Posts: 3
Re: DirectSound Exception
« Reply #4 on: October 23, 2009, 07:06:25 am »
Thanks.  I have installed the three items listed as requirements (made sure I did when I got the error the first time).  I'll try the drivers.  I bought and am trying to run the game (AI Wars: Fleet Command which I guess is 2.0) from Steam.

Offline Volatar

  • Hero Member Mark III
  • *****
  • Posts: 1,055
  • Patient as a rock
Re: DirectSound Exception
« Reply #5 on: October 23, 2009, 07:29:02 am »
If you encounter the "This game must be launched from Steam!  IsSubscribedApp Failed" error, then refer to this thread (and please, post your comp details) http://arcengames.com/forums/index.php/topic,1852.0.html

If you don't have that problem, then have fun  ;D

Offline wjmosiris

  • Newbie
  • *
  • Posts: 3
Re: DirectSound Exception
« Reply #6 on: October 23, 2009, 07:51:03 am »
No, no launch problems.

And update for those who posted here, I updated my realTek drivers and that fixed the launch problem.  So thank you!

Offline AcidWeb

  • Full Member
  • ***
  • Posts: 127
Re: DirectSound Exception
« Reply #7 on: October 23, 2009, 07:54:38 am »
This is truly awesome AI War feature.

Game will personally guard your computer and in grateful way inform you when some of yours drivers are out of date  ;D ;D ;D

Offline Fiskbit

  • Arcen Games Contractor
  • Master Member Mark III
  • *****
  • Posts: 1,752
Re: DirectSound Exception
« Reply #8 on: October 23, 2009, 07:55:51 am »
Very glad to hear it! By the sounds of it, the majority of problems people are having with getting this game to run (aside from the Steam-specific error Volatar mentioned) seem to be caused by prerequisites not properly installing or simply outdated drivers. I'm glad the solutions have largely been pretty simple so far. :)

I hope you enjoy the game!
Have ideas or bug reports for one of our games?  Click here to get started with Mantis for Suggestions and Bug Reports.  Thanks for helping to make our games better!