From 521b6571f3daa1394ffe87bb646e86eefb6b414d Mon Sep 17 00:00:00 2001 From: David Reid Date: Thu, 29 Feb 2024 14:38:41 +1000 Subject: [PATCH] Fix compilation errors. --- miniaudio.h | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/miniaudio.h b/miniaudio.h index e7d56f25..ff1f2bc3 100644 --- a/miniaudio.h +++ b/miniaudio.h @@ -71585,7 +71585,6 @@ MA_API ma_result ma_node_graph_init(const ma_node_graph_config* pConfig, const m pNodeGraph->pProcessingCache = (float*)ma_malloc(pConfig->processingSizeInFrames * pConfig->channels * sizeof(float), pAllocationCallbacks); if (pNodeGraph->pProcessingCache == NULL) { ma_node_uninit(&pNodeGraph->endpoint, pAllocationCallbacks); - ma_node_uninit(&pNodeGraph->base, pAllocationCallbacks); return MA_OUT_OF_MEMORY; } } @@ -71603,7 +71602,6 @@ MA_API ma_result ma_node_graph_init(const ma_node_graph_config* pConfig, const m pNodeGraph->pPreMixStack = ma_stack_init(preMixStackSizeInBytes, pAllocationCallbacks); if (pNodeGraph->pPreMixStack == NULL) { ma_node_uninit(&pNodeGraph->endpoint, pAllocationCallbacks); - ma_node_uninit(&pNodeGraph->base, pAllocationCallbacks); if (pNodeGraph->pProcessingCache != NULL) { ma_free(pNodeGraph->pProcessingCache, pAllocationCallbacks); } @@ -71623,7 +71621,7 @@ MA_API void ma_node_graph_uninit(ma_node_graph* pNodeGraph, const ma_allocation_ } ma_node_uninit(&pNodeGraph->endpoint, pAllocationCallbacks); - ma_data_source_uninit(&pNodeGraph->ds) + ma_data_source_uninit(&pNodeGraph->ds); if (pNodeGraph->pProcessingCache != NULL) { ma_free(pNodeGraph->pProcessingCache, pAllocationCallbacks);