From c6aac7622aeb80521867b23aad1728331e06b3e7 Mon Sep 17 00:00:00 2001 From: David Reid Date: Sun, 10 Sep 2017 06:38:16 +1000 Subject: [PATCH] Add placeholder variables in preparation for exclusive mode support. --- mini_al.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/mini_al.h b/mini_al.h index 4cf214a9..828af158 100644 --- a/mini_al.h +++ b/mini_al.h @@ -531,6 +531,7 @@ typedef struct mal_channel channelMap[MAL_MAX_CHANNELS]; mal_uint32 bufferSizeInFrames; mal_uint32 periods; + mal_bool32 preferExclusiveMode; mal_recv_proc onRecvCallback; mal_send_proc onSendCallback; mal_stop_proc onStopCallback; @@ -738,6 +739,7 @@ struct mal_device mal_thread thread; mal_result workResult; // This is set by the worker thread after it's finished doing a job. mal_uint32 flags; // MAL_DEVICE_FLAG_* + mal_bool32 exclusiveMode : 1; mal_format internalFormat; mal_uint32 internalChannels; mal_uint32 internalSampleRate;