|
@@ -53,15 +53,12 @@ struct SDL_PrivateAudioData
|
|
AudioQueueRef audioQueue;
|
|
AudioQueueRef audioQueue;
|
|
int numAudioBuffers;
|
|
int numAudioBuffers;
|
|
AudioQueueBufferRef *audioBuffer;
|
|
AudioQueueBufferRef *audioBuffer;
|
|
- void *buffer;
|
|
|
|
- UInt32 bufferOffset;
|
|
|
|
- UInt32 bufferSize;
|
|
|
|
|
|
+ AudioQueueBufferRef current_buffer;
|
|
AudioStreamBasicDescription strdesc;
|
|
AudioStreamBasicDescription strdesc;
|
|
SDL_Semaphore *ready_semaphore;
|
|
SDL_Semaphore *ready_semaphore;
|
|
char *thread_error;
|
|
char *thread_error;
|
|
#ifdef MACOSX_COREAUDIO
|
|
#ifdef MACOSX_COREAUDIO
|
|
AudioDeviceID deviceID;
|
|
AudioDeviceID deviceID;
|
|
- SDL_AtomicInt device_change_flag;
|
|
|
|
#else
|
|
#else
|
|
SDL_bool interrupted;
|
|
SDL_bool interrupted;
|
|
CFTypeRef interruption_listener;
|
|
CFTypeRef interruption_listener;
|