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

Function Play

engine/sound/src/sound.cpp:1230–1235  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1228 }
1229
1230 Result Play(HSoundInstance sound_instance)
1231 {
1232 DM_MUTEX_OPTIONAL_SCOPED_LOCK(g_SoundSystem->m_Mutex);
1233 sound_instance->m_Playing = 1;
1234 return RESULT_OK;
1235 }
1236
1237 static void StopNoLock(SoundSystem* sound, HSoundInstance sound_instance)
1238 {

Callers 4

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