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

Method isSoundLooping

Engine/modules/Verve/Torque3D/VSoundEffect.cpp:38–48  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

36//-----------------------------------------------------------------------------
37
38bool VTorque::isSoundLooping( SoundEffectType *pSoundProfile )
39{
40 if ( !pSoundProfile )
41 {
42 // Sanity!
43 return false;
44 }
45
46 // Return Looping.
47 return pSoundProfile->getDescription()->mIsLooping;
48}
49
50S32 VTorque::getSoundDuration( SoundEffectType *pSoundProfile )
51{

Callers

nothing calls this directly

Calls 1

getDescriptionMethod · 0.45

Tested by

no test coverage detected