Torque 3D bug: Audio bug
by Benny Peake · in Torque 3D Professional · 06/25/2009 (12:44 pm) · 12 replies
Whenever I run any of the demos in Torque 3D, none of the sound plays and the game just sounds like it is completly mute. In beta 2 all the sound worked.I uninstalled beta 2 and then reinstalled beta 3. My computer is running on Windows Vista 64, service pack 1.
About the author
#2
06/25/2009 (3:05 pm)
Im was using the Speakers (Conexant High definition smart audio 211), but that didn't work so I swiched it to the Primary sound driver but that didn't do anything. Also in the console when I run it, it gives me an error message saying SFXMODProvider - could not locate the fmodex.dll.
#3
Sorry, I wasn't really that clear. What I meant was the audio provider rather than the audio device. Are you using XAudio? Please try to the various choices available (DirectSound and XAudio in any case; OpenAL if you have installed it) and see if all show the same problem.
The message about FMOD is normal behavior if FMOD isn't installed.
In any case, having no sound isn't "normal behavior" regardless of the sound device (except for the null device of course). I'll be looking into this.
06/25/2009 (3:14 pm)
Sorry, I wasn't really that clear. What I meant was the audio provider rather than the audio device. Are you using XAudio? Please try to the various choices available (DirectSound and XAudio in any case; OpenAL if you have installed it) and see if all show the same problem.
The message about FMOD is normal behavior if FMOD isn't installed.
In any case, having no sound isn't "normal behavior" regardless of the sound device (except for the null device of course). I'll be looking into this.
#4
06/25/2009 (3:29 pm)
I've tried every audio device and audio provider but still no sound.
#5
06/25/2009 (4:18 pm)
I am having the same problem. I have tried XAudio, DirectSound, and installed OpenAL to try to fix this. My audio device is SigmaTel Audio, which is a built in sound device. I received the latest updates from Dell for the device. I have also made sure I have the latest drivers for everything else. It is as though the volume is completely muted.
#7
Can someone please do the following:
Do a project-wide search for DEBUG_SPEW and uncomment all lines in files where it says
Then recompile, run, load a level, shoot around some, and then exit. Then please send me a complete copy of the Debug Output tab of Visual Studio. (not the console log as that does not include the debug output strings).
That would be very helpful. Thank you.
06/26/2009 (6:30 am)
Can someone please do the following:
Do a project-wide search for DEBUG_SPEW and uncomment all lines in files where it says
//#define DEBUG_SPEW
Then recompile, run, load a level, shoot around some, and then exit. Then please send me a complete copy of the Debug Output tab of Visual Studio. (not the console log as that does not include the debug output strings).
That would be very helpful. Thank you.
#8
with:
This should solve the no-sound as well as the lockup issues.
This stunning feat of incompetence in elementary math (*) affected all single-core systems as well as those where the detection code failed.
(*) that code was mine...
06/26/2009 (4:57 pm)
Please go into platform/threads/threadPool.cpp and replace the followingCPUInfo::CPUCount( numLogical, numCores, numPhysical );
mNumThreads = ( numCores - 1 ) * 4;with:
CPUInfo::CPUCount( numLogical, numCores, numPhysical );
const U32 baseCount = getMax( numLogical, numCores );
if( baseCount )
mNumThreads = baseCount * 2;
else
mNumThreads = 2;This should solve the no-sound as well as the lockup issues.
This stunning feat of incompetence in elementary math (*) affected all single-core systems as well as those where the detection code failed.
(*) that code was mine...
#9
06/26/2009 (5:43 pm)
I'm sorry I was unable to attempt the DEGUB_SPEW, but I just now got back home from work. I did however get a chance to test out the replacement code and recompile. It works great! I have sound and no more hangups on exit. Thank you so much :)
#10
BTW, I've modified the snippet a little so it also (hopefully) handles AMD multicores correctly.
//Edit: Fixed typo in snippet above
06/26/2009 (6:29 pm)
Hey great. Glad this one's off the table.BTW, I've modified the snippet a little so it also (hopefully) handles AMD multicores correctly.
//Edit: Fixed typo in snippet above
#11
06/26/2009 (6:37 pm)
Thank you. I'll have to try that out:) BTW, do I need to have the full version of Visual C++ to compile this or can I use the lite version.
#12
Sorry, somehow missed your question. Express is fine. AFAIK it won't compile the browser plugins due to Microsoft not shipping ATL with Express, but otherwise Express will to the job just perfectly.
06/27/2009 (7:44 pm)
Sorry, somehow missed your question. Express is fine. AFAIK it won't compile the browser plugins due to Microsoft not shipping ATL with Express, but otherwise Express will to the job just perfectly.
Associate Rene Damm
What sound device are you using? Have you tried other devices in the options menu? Are there errors in the log file?