mirror of
https://github.com/libsdl-org/SDL.git
synced 2025-12-23 06:38:55 +00:00
coreaudio: rewritten for SDL3 audio redesign!
This commit is contained in:
@@ -53,15 +53,12 @@ struct SDL_PrivateAudioData
|
|||||||
AudioQueueRef audioQueue;
|
AudioQueueRef audioQueue;
|
||||||
int numAudioBuffers;
|
int numAudioBuffers;
|
||||||
AudioQueueBufferRef *audioBuffer;
|
AudioQueueBufferRef *audioBuffer;
|
||||||
void *buffer;
|
AudioQueueBufferRef current_buffer;
|
||||||
UInt32 bufferOffset;
|
|
||||||
UInt32 bufferSize;
|
|
||||||
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;
|
||||||
|
|||||||
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user