From 4073a6694f737f65b93261378a4a0eb93fbaba76 Mon Sep 17 00:00:00 2001 From: "Ryan C. Gordon" Date: Thu, 18 May 2017 15:33:17 -0400 Subject: [PATCH] audio: One more callbackspec fix (thanks, Simon!). --- src/audio/SDL_audio.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/audio/SDL_audio.c b/src/audio/SDL_audio.c index ae076b247..95d1d9d7d 100644 --- a/src/audio/SDL_audio.c +++ b/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);