Commit 0a7207d5 authored by David Reid's avatar David Reid Committed by GitHub

Merge pull request #281 from morlad/fix-engine-no-resman-1

Fix linker error when MA_NO_RESOURCE_MANAGER is defined
parents de121915 3a31faf8
......@@ -10842,6 +10842,7 @@ MA_API void ma_engine_listener_get_cone(const ma_engine* pEngine, ma_uint32 list
}
#ifndef MA_NO_RESOURCE_MANAGER
MA_API ma_result ma_engine_play_sound_ex(ma_engine* pEngine, const char* pFilePath, ma_node* pNode, ma_uint32 nodeInputBusIndex)
{
ma_result result = MA_SUCCESS;
......@@ -10956,6 +10957,7 @@ MA_API ma_result ma_engine_play_sound(ma_engine* pEngine, const char* pFilePath,
{
return ma_engine_play_sound_ex(pEngine, pFilePath, pGroup, 0);
}
#endif
static ma_result ma_sound_preinit(ma_engine* pEngine, ma_sound* pSound)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment