MCPcopy Create free account
hub / github.com/TorqueGameEngines/Torque3D / stop

Method stop

Engine/source/T3D/sfx/sfxEmitter.cpp:1058–1071  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1056//-----------------------------------------------------------------------------
1057
1058void SFXEmitter::stop()
1059{
1060 if ( mSource )
1061 mSource->stop();
1062 else
1063 {
1064 // By clearing the playback masks first we
1065 // ensure the last playback command called
1066 // within a single tick is the one obeyed.
1067 clearMaskBits( AllSourceMasks );
1068
1069 setMaskBits( SourceStopMask );
1070 }
1071}
1072
1073//-----------------------------------------------------------------------------
1074

Callers 9

updateAudioStateMethod · 0.45
updateSoundMethod · 0.45
updateWaterSoundsMethod · 0.45
sfxEmitter.cppFile · 0.45
advanceTimeMethod · 0.45
updateSquealSoundMethod · 0.45
updateJetSoundMethod · 0.45
updateJetMethod · 0.45
updateFrothMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected