From 578496e237570bbda047d6add66436ad2e07232c Mon Sep 17 00:00:00 2001 From: David Reid Date: Wed, 12 Feb 2020 21:56:43 +1000 Subject: [PATCH] Minor clarification changes. --- miniaudio.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/miniaudio.h b/miniaudio.h index 69ed002b..060f6665 100644 --- a/miniaudio.h +++ b/miniaudio.h @@ -58,8 +58,8 @@ flexibility by allowing a user data pointer to be passed to the custom allocatio `ma_allocation_callbacks` structure. Anything making use of heap allocations has been updated to accept this new structure. The `ma_context_config` structure has been updated with a new member called `allocationCallbacks`. Leaving this set to it's defaults returned by -`ma_context_config_init()` will cause it to use defaults. Likewise, The `ma_decoder_config` structure has been updated in the same way, and leaving everything -as-is after `ma_decoder_config_init()` will cause it to use defaults. +`ma_context_config_init()` will cause it to use MA_MALLOC, MA_REALLOC and MA_FREE. Likewise, The `ma_decoder_config` structure has been updated in the same +way, and leaving everything as-is after `ma_decoder_config_init()` will cause it to use the same defaults. The following APIs have been updated to take a pointer to a `ma_allocation_callbacks` object. Setting this parameter to NULL will cause it to use defaults. Otherwise they will use the relevant callback in the structure.