| 1056 | //----------------------------------------------------------------------------- |
| 1057 | |
| 1058 | void 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 |
no outgoing calls
no test coverage detected