Sound Volume is Low
by John Peter · in Torque Developer Network · 11/29/2010 (8:39 pm) · 1 replies
Hi All I am using TGE Where i have to play the audio file. I am playing audio using this code
new AudioProfile(AudioIntroMusicProfile)
{
filename = "~/data/sound/Sound.wav";
description = "AudioGui";
preload = true;
};
function Test22()
{
$AudioTestHandleA = alxCreateSource("AudioIntroMusicProfile", expandFilename("~data/sound/Hall.wav"));
alxPlay($AudioTestHandleA);
}
The Sound is playing. But the sound voice is very less. compare to Media Player or any other player.
The sound i hearing from TGE while running is very less.
I have increased the sound volume to highest level but the sound is very less in TGE.
i have also changed this flag in pref.cs
pref::Audio::channelVolume1 = 1;
$pref::Audio::channelVolume2 = 1;
but the sound is very less.
could any one help me how to increase the sound volume in TGE.
Thanks and Regards
John Peter
new AudioProfile(AudioIntroMusicProfile)
{
filename = "~/data/sound/Sound.wav";
description = "AudioGui";
preload = true;
};
function Test22()
{
$AudioTestHandleA = alxCreateSource("AudioIntroMusicProfile", expandFilename("~data/sound/Hall.wav"));
alxPlay($AudioTestHandleA);
}
The Sound is playing. But the sound voice is very less. compare to Media Player or any other player.
The sound i hearing from TGE while running is very less.
I have increased the sound volume to highest level but the sound is very less in TGE.
i have also changed this flag in pref.cs
pref::Audio::channelVolume1 = 1;
$pref::Audio::channelVolume2 = 1;
but the sound is very less.
could any one help me how to increase the sound volume in TGE.
Thanks and Regards
John Peter
About the author
John Peter