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

Function SetSoundData

engine/sound/src/sound.cpp:826–830  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

824 }
825
826 Result SetSoundData(HSoundData sound_data, const void* sound_buffer, uint32_t sound_buffer_size)
827 {
828 DM_MUTEX_OPTIONAL_SCOPED_LOCK(g_SoundSystem->m_Mutex);
829 return SetSoundDataNoLock(sound_data, sound_buffer, sound_buffer_size);
830 }
831
832 Result SetSoundDataCallback(HSoundData sound_data, FSoundDataGetData cbk, void* cbk_ctx)
833 {

Callers

nothing calls this directly

Calls 1

SetSoundDataNoLockFunction · 0.85

Tested by

no test coverage detected