Skip to content

Commit

Permalink
audio: One more callbackspec fix (thanks, Simon!).
Browse files Browse the repository at this point in the history
  • Loading branch information
icculus committed May 18, 2017
1 parent 7724076 commit 4073a66
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/audio/SDL_audio.c
Expand Up @@ -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);
Expand Down

0 comments on commit 4073a66

Please sign in to comment.