From 03f8528315fa46c95991a34f3325d7b33ae5538c Mon Sep 17 00:00:00 2001
From: Edward Rudd <urkle@outoforder.cc>
Date: Sat, 02 May 2020 21:48:36 +0000
Subject: [PATCH] Update source to SDL2 2.0.12
---
source/src/audio/coreaudio/SDL_coreaudio.h | 10 ++++++----
1 files changed, 6 insertions(+), 4 deletions(-)
diff --git a/source/src/audio/coreaudio/SDL_coreaudio.h b/source/src/audio/coreaudio/SDL_coreaudio.h
index dcce3f7..f882007 100644
--- a/source/src/audio/coreaudio/SDL_coreaudio.h
+++ b/source/src/audio/coreaudio/SDL_coreaudio.h
@@ -1,6 +1,6 @@
/*
Simple DirectMedia Layer
- Copyright (C) 1997-2018 Sam Lantinga <slouken@libsdl.org>
+ Copyright (C) 1997-2020 Sam Lantinga <slouken@libsdl.org>
This software is provided 'as-is', without any express or implied
warranty. In no event will the authors be held liable for any damages
@@ -45,14 +45,16 @@
struct SDL_PrivateAudioData
{
+ SDL_Thread *thread;
AudioQueueRef audioQueue;
- int numAudioBuffers;
AudioQueueBufferRef *audioBuffer;
void *buffer;
+ UInt32 bufferOffset;
UInt32 bufferSize;
AudioStreamBasicDescription strdesc;
- SDL_bool refill;
- SDL_AudioStream *capturestream;
+ SDL_sem *ready_semaphore;
+ char *thread_error;
+ SDL_atomic_t shutdown;
#if MACOSX_COREAUDIO
AudioDeviceID deviceID;
#else
--
Gitblit v1.9.3