Clicking noises when playing sounds
by Christian Rousselle · in Torque Game Builder · 06/26/2008 (11:30 pm) · 12 replies
Hello,
when I play music or sound effects (as .wav or .ogg) using alxPlay I can here clicking noises. I create the sounds like that:
Does anybody experience the same?
Thank you.
when I play music or sound effects (as .wav or .ogg) using alxPlay I can here clicking noises. I create the sounds like that:
new AudioDescription(AudioAmbient)
{
volume = 1.0;
isLooping = true;
is3D = false;
type = $GuiAudioType;
};
new AudioDescription(AudioSoundFx)
{
volume = 2.0;
isLooping = false;
is3D = false;
type = $GuiAudioType;
};
new AudioProfile(MusicIntroTheme)
{
filename = "~/data/audio/music/Theme.ogg";
description = "AudioAmbient";
preload = false;
};
new AudioProfile(SoundFXMarker)
{
filename = "~/data/audio/fx/Blip.wav";
description = "AudioSoundFx";
preload = true;
};Does anybody experience the same?
Thank you.
#2
06/27/2008 (8:38 am)
I get these same sounds, only in my project. All other media programs are fine.
#3
06/27/2008 (9:30 am)
Update your openAL version (replacing the DLL should work, but make a backup). I've had this problem with different programs, all using old versions of OpenAL.
#4
06/27/2008 (2:20 pm)
I am usinig the version that comes with TGB 1.7.2 (0.9.9.1). What version is current? From the OpenAL website I downloaded 6.14.0357.22!?
#5
06/29/2008 (6:55 am)
When I use the version from the OpenAL website (http://www.openal.org/downloads.html - OpenAL 1.1 Installer for Windows), install it and copy the DLL from %WindowsFolder%\System32 to the game folder or corresponding TGB folders everything seems to work fine. The only thing that is a bit strange is that the DLL is 50 kb smaller. If this DLL is the correct one than it would be nice if it could be bundled with TGB 1.7.4 :-)
#6
Missing OpenAL Extension function EAXSet
Missing OpenAL Extension function EAXGet
So maybe not a good/correct solution to use this DLL.
06/29/2008 (8:31 am)
I just noticed that the console complains when I use the new DLL:Missing OpenAL Extension function EAXSet
Missing OpenAL Extension function EAXGet
So maybe not a good/correct solution to use this DLL.
#7
I search and replaced all of them in the installed tgb directory. When you make a new project it will copy the new dll to your project.
06/29/2008 (9:40 am)
Thanks for the update... I did look through the tgb source for EAXSet and EAXGet and didn't find they were used. There should be any side effect to using the newer dll. Hopefully the next tgb update will have the new dll.I search and replaced all of them in the installed tgb directory. When you make a new project it will copy the new dll to your project.
#8
06/29/2008 (12:01 pm)
Wow, this is cool, dudes. I thought that clicking problem was just something I had to take with a grin. Cool.
#9
07/15/2008 (1:15 am)
Just wanted to let you know, that it is not good enough to simply replace OpenAL32.dll when using the Creative Installer. It seems that you also need to copy wrap_oal.dll from %Windows%/System32 to the game folder.
#10
07/19/2008 (8:04 am)
Thanks, Christian! Probably wouldn't have caught that on my own.
#11
07/20/2008 (9:25 pm)
Hmm, anyone know if it made it into 1.7.4?
#12
07/21/2008 (12:17 am)
No it did not.
Torque Owner Brian Wilson