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

Method stopAudio

Engine/source/T3D/shapeBase.cpp:2234–2245  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2232}
2233
2234void ShapeBase::stopAudio(U32 slot)
2235{
2236 AssertFatal( slot < MaxSoundThreads, "ShapeBase::stopAudio() bad slot index" );
2237
2238 SoundThread& st = mSoundThread[slot];
2239 if ( st.play )
2240 {
2241 st.play = false;
2242 setMaskBits(SoundMaskN << slot);
2243 updateAudioState(st);
2244 }
2245}
2246
2247void ShapeBase::updateServerAudio()
2248{

Callers 1

shapeBase.cppFile · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected