coreaudio: rewritten for SDL3 audio redesign!

main
Ryan C. Gordon 2023-07-03 22:00:58 -04:00
parent 533777eff5
commit c653e57768
No known key found for this signature in database
GPG Key ID: FA148B892AB48044
2 changed files with 383 additions and 736 deletions

View File

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

File diff suppressed because it is too large Load Diff