From dc77ad01482d4aa327f713d59a1523bdfec5d029 Mon Sep 17 00:00:00 2001 From: David Reid Date: Sat, 11 Mar 2023 09:13:04 +1000 Subject: [PATCH] Fix compilation error when the resource manager is disabled. --- miniaudio.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/miniaudio.h b/miniaudio.h index fbaaf661..4f97c079 100644 --- a/miniaudio.h +++ b/miniaudio.h @@ -10985,7 +10985,9 @@ typedef struct ma_uint64 loopPointBegInPCMFrames; ma_uint64 loopPointEndInPCMFrames; ma_bool32 isLooping; +#ifndef MA_NO_RESOURCE_MANAGER ma_resource_manager_pipeline_notifications initNotifications; +#endif ma_fence* pDoneFence; /* Deprecated. Use initNotifications instead. Released when the resource manager has finished decoding the entire sound. Not used with streams. */ } ma_sound_config;