Cannot stop sound playing - RESOLVED
by Steven Chiu · in Torque 3D Professional · 03/13/2011 (4:56 am) · 4 replies
I play a sound profile using sfxPlayOnce:
$soundbk = sfxPlayOnce(BackgroundSound);
Then on player been disabled, I stop the sound playing using:
$soundbk.stop();
This used to be working in T3D B1 but not working in Beta 3 now! Any clue for this?
$soundbk = sfxPlayOnce(BackgroundSound);
Then on player been disabled, I stop the sound playing using:
$soundbk.stop();
This used to be working in T3D B1 but not working in Beta 3 now! Any clue for this?
#2
{
isStreaming = false;
is3D = false;
isLooping = true;
};
datablock SFXProfile(BackgroundSound)
{
filename = "art/sound/background";
description = BackgroundMusicLoop3D; //AudioDefaultLoop3D;
preload = true;
};
The sound file is in wave format, stereo , and play in-game.
03/14/2011 (6:11 pm)
singleton SFXDescription( BackgroundMusicLoop3D : AudioMusic ){
isStreaming = false;
is3D = false;
isLooping = true;
};
datablock SFXProfile(BackgroundSound)
{
filename = "art/sound/background";
description = BackgroundMusicLoop3D; //AudioDefaultLoop3D;
preload = true;
};
The sound file is in wave format, stereo , and play in-game.
#4
10/06/2011 (5:29 pm)
Fixed in 1.2, should be fixed in 1.1 as well.
Associate Rene Damm
Can you give me some more details on your particular setup? Like the profile you are using and the description you are using. Also, the SFX provider (FMOD, OAL, ...) you are using. And basically anything else that might be relevant :)
//Edit:
Other details: what format is your sound (ogg or wav; stereo or mono)? is this in-game or in the menus?