coreaudio: we don't need to track number of allocated audio buffers anymore.

CoreAudio takes care of iterating through the buffers and freeing them now,
so we don't have to manage this ourselves.
This commit is contained in:
Ryan C. Gordon
2017-05-24 13:28:13 -04:00
parent fc4402e5ff
commit 6844d92c23
2 changed files with 6 additions and 8 deletions

View File

@@ -47,7 +47,6 @@ struct SDL_PrivateAudioData
{
SDL_Thread *thread;
AudioQueueRef audioQueue;
int numAudioBuffers;
AudioQueueBufferRef *audioBuffer;
void *buffer;
UInt32 bufferOffset;