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

Function Stop

engine/sound/src/sound.cpp:1245–1250  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1243 }
1244
1245 Result Stop(HSoundInstance sound_instance)
1246 {
1247 DM_MUTEX_OPTIONAL_SCOPED_LOCK(g_SoundSystem->m_Mutex);
1248 StopNoLock(g_SoundSystem, sound_instance);
1249 return RESULT_OK;
1250 }
1251
1252 Result Pause(HSoundInstance sound_instance, bool pause)
1253 {

Callers 4

TEST_PFunction · 0.50
TESTFunction · 0.50
CompSoundDeleteWorldFunction · 0.50
CompSoundUpdateFunction · 0.50

Calls 1

StopNoLockFunction · 0.85

Tested by 2

TEST_PFunction · 0.40
TESTFunction · 0.40