Add support for per-context user data.

This commit is contained in:
David Reid
2019-03-30 11:06:13 +10:00
parent 8b607b509c
commit 26466bf28f
+1 -2
View File
@@ -1858,19 +1858,18 @@ typedef struct
{ {
ma_log_proc logCallback; ma_log_proc logCallback;
ma_thread_priority threadPriority; ma_thread_priority threadPriority;
void* pUserData;
struct struct
{ {
ma_bool32 useVerboseDeviceEnumeration; ma_bool32 useVerboseDeviceEnumeration;
} alsa; } alsa;
struct struct
{ {
const char* pApplicationName; const char* pApplicationName;
const char* pServerName; const char* pServerName;
ma_bool32 tryAutoSpawn; // Enables autospawning of the PulseAudio daemon if necessary. ma_bool32 tryAutoSpawn; // Enables autospawning of the PulseAudio daemon if necessary.
} pulse; } pulse;
struct struct
{ {
const char* pClientName; const char* pClientName;