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

Method stopAudio

Engine/source/T3D/shapeBase.cpp:2089–2100  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2087}
2088
2089void ShapeBase::stopAudio(U32 slot)
2090{
2091 AssertFatal( slot < MaxSoundThreads, "ShapeBase::stopAudio() bad slot index" );
2092
2093 Sound& st = mSoundThread[slot];
2094 if ( st.play )
2095 {
2096 st.play = false;
2097 setMaskBits(SoundMaskN << slot);
2098 updateAudioState(st);
2099 }
2100}
2101
2102void ShapeBase::updateServerAudio()
2103{

Callers 1

shapeBase.cppFile · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected