Game Development Community

XAudio vs DirectSound

by Howard Dortch · in Torque 3D Professional · 08/06/2015 (8:26 am) · 5 replies

When I change from XAudio to DirectSound the volume levels are different. DirectSound has lower volume on 3d sounds. Any way to balance that so I dont have to have 2 sets of sound files?

#1
08/07/2015 (8:59 am)
You could alter the master volume slightly after its value has been handed over to the API.
#2
08/09/2015 (8:14 am)
Some sounds dont even play in directsound. They sound way different in openal as well. Since the windows version uses directx anyhow, any way to balance directsound and force user to that?

Another question on sound while we are here.

function ServerPlay3D(%profile,%transform)
if the profile is set to loop is there any way to stop the sound on the client?
#3
08/09/2015 (11:44 am)
AFAIK no, not without source changes. You have no way to reference the sound on the remote side.
#4
08/09/2015 (4:50 pm)
We should look at a normalized sound value across all drivers. Did FMOD make that possible?

As for the other issue, I solved it by sending a message to the client in question to bool play or stop. Dedicated servers always cause me issues like that, thanks...
#5
08/12/2015 (2:18 pm)
Glad I was wrong and that you got it working! :)

(FMOD most likely doesn't have any problems with a difference in volume, no)