| 2087 | } |
| 2088 | |
| 2089 | void 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 | |
| 2102 | void ShapeBase::updateServerAudio() |
| 2103 | { |