audio: One more callbackspec fix (thanks, Simon!).
authorRyan C. Gordon <icculus@icculus.org>
Thu, 18 May 2017 15:33:17 -0400
changeset 11008c923c6eac264
parent 11007 e75416b7aba1
child 11009 cca512965b67
audio: One more callbackspec fix (thanks, Simon!).
src/audio/SDL_audio.c
     1.1 --- a/src/audio/SDL_audio.c	Tue May 16 17:48:57 2017 -0700
     1.2 +++ b/src/audio/SDL_audio.c	Thu May 18 15:33:17 2017 -0400
     1.3 @@ -732,7 +732,7 @@
     1.4      const Uint32 delay = ((device->spec.samples * 1000) / device->spec.freq);
     1.5      const int data_len = device->spec.size;
     1.6      Uint8 *data;
     1.7 -    void *udata = device->spec.userdata;
     1.8 +    void *udata = device->callbackspec.userdata;
     1.9      SDL_AudioCallback callback = device->callbackspec.callback;
    1.10  
    1.11      SDL_assert(device->iscapture);