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

Method getStatus

Engine/source/sfx/sfxVoice.cpp:161–174  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

159//-----------------------------------------------------------------------------
160
161SFXStatus SFXVoice::getStatus() const
162{
163 // Detect when the device has finished playback. Only for
164 // non-streaming voices. For streaming voices, we rely on
165 // the buffer to send us a STATUS_AtEnd signal when it is
166 // done playing.
167
168 if( mStatus == SFXStatusPlaying &&
169 !mBuffer->isStreaming() &&
170 _status() == SFXStatusStopped )
171 mStatus = SFXStatusStopped;
172
173 return mStatus;
174}
175
176//-----------------------------------------------------------------------------
177

Callers 15

calcScoreMethod · 0.45
dumpStateMethod · 0.45
readStateMethod · 0.45
writeMethod · 0.45
readMethod · 0.45
readMethod · 0.45
createMethod · 0.45
addSequenceMethod · 0.45
loadColladaShapeFunction · 0.45
assimpLoadShapeFunction · 0.45
saveMethod · 0.45
loadMethod · 0.45

Calls 1

isStreamingMethod · 0.45

Tested by

no test coverage detected