MCPcopy Create free account
hub / github.com/defold/defold / IsPlaying

Function IsPlaying

engine/sound/src/sound.cpp:1270–1274  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1268 }
1269
1270 bool IsPlaying(HSoundInstance sound_instance)
1271 {
1272 DM_MUTEX_OPTIONAL_SCOPED_LOCK(g_SoundSystem->m_Mutex);
1273 return sound_instance->m_Playing;
1274 }
1275
1276 Result SetLooping(HSoundInstance sound_instance, bool looping, int8_t loopcounter)
1277 {

Callers 5

DeleteSoundInstanceFunction · 0.70
TEST_PFunction · 0.50
PlaySoundFunction · 0.50
TESTFunction · 0.50
CompSoundUpdateFunction · 0.50

Calls

no outgoing calls

Tested by 3

TEST_PFunction · 0.40
PlaySoundFunction · 0.40
TESTFunction · 0.40