• David Reid's avatar
    API CHANGE: Add support for custom memory allocators. · 3387e888
    David Reid authored
    This commit changes the following APIs to add an additional parameter
    called pAllocationCallbacks. This is a pointer to a
    ma_allocation_callbacks structure which is used to perform the actual
    allocation/free.
    
    Allocation callbacks can be set in ma_context_config for contexts and
    ma_decoder_config for decoders. If it's left unset it will use
    MA_MALLOC(), MA_REALLOC() and MA_FREE().
    3387e888
miniaudio.h 1.56 MB
The source could not be displayed because it is larger than 1 MB. You can load it anyway or download it instead.