Skip to content
Permalink
Browse files

audio: One more callbackspec fix (thanks, Simon!).

  • Loading branch information
icculus committed May 18, 2017
1 parent 7724076 commit 4073a6694f737f65b93261378a4a0eb93fbaba76
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/audio/SDL_audio.c
@@ -732,7 +732,7 @@ SDL_CaptureAudio(void *devicep)
const Uint32 delay = ((device->spec.samples * 1000) / device->spec.freq);
const int data_len = device->spec.size;
Uint8 *data;
void *udata = device->spec.userdata;
void *udata = device->callbackspec.userdata;
SDL_AudioCallback callback = device->callbackspec.callback;

SDL_assert(device->iscapture);

0 comments on commit 4073a66

Please sign in to comment.