From 26466bf28f17fd129468070156f9d660e9628508 Mon Sep 17 00:00:00 2001 From: David Reid Date: Sat, 30 Mar 2019 11:06:13 +1000 Subject: [PATCH] Add support for per-context user data. --- miniaudio.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/miniaudio.h b/miniaudio.h index 498b3b72..6f8bdff2 100644 --- a/miniaudio.h +++ b/miniaudio.h @@ -1858,19 +1858,18 @@ typedef struct { ma_log_proc logCallback; ma_thread_priority threadPriority; + void* pUserData; struct { ma_bool32 useVerboseDeviceEnumeration; } alsa; - struct { const char* pApplicationName; const char* pServerName; ma_bool32 tryAutoSpawn; // Enables autospawning of the PulseAudio daemon if necessary. } pulse; - struct { const char* pClientName;