From f8c748870fa770909471446fea312434a85c1f59 Mon Sep 17 00:00:00 2001 From: David Reid Date: Mon, 23 Nov 2020 17:38:44 +1000 Subject: [PATCH] Remove the use of bitfields in the public section of miniaudio_engine. --- research/miniaudio_engine.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/research/miniaudio_engine.h b/research/miniaudio_engine.h index 00f1c81c..b7373be4 100644 --- a/research/miniaudio_engine.h +++ b/research/miniaudio_engine.h @@ -1604,8 +1604,8 @@ struct ma_engine ma_uint32 periodSizeInFrames; ma_uint32 periodSizeInMilliseconds; ma_allocation_callbacks allocationCallbacks; - ma_bool32 ownsResourceManager : 1; - ma_bool32 ownsDevice : 1; + ma_bool8 ownsResourceManager; + ma_bool8 ownsDevice; }; MA_API ma_result ma_engine_init(const ma_engine_config* pConfig, ma_engine* pEngine);