LOG_ENTER_P(cast_(handle))
if (is_null_(handle)) return ESPLUSPLAYER_ERROR_TYPE_INVALID_PARAMETER;
LOG_INFO("policy: %d", static_cast<int>(policy));
-
auto ret = cast_(handle)->SetResourceAllocatePolicy(
static_cast<RscAllocPolicy>(policy));
return convert_return_type_(ret);