Skip to content

Commit

Permalink
Added a FIXME.
Browse files Browse the repository at this point in the history
  • Loading branch information
icculus committed Aug 9, 2016
1 parent 3139e5d commit 5de11a5
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/audio/coreaudio/SDL_coreaudio.c
Expand Up @@ -375,6 +375,7 @@ inputCallback(void *inRefCon,
if (len > remaining)
len = remaining;

/* !!! FIXME: why are we copying here? just pass the buffer to the callback? */
SDL_memcpy((char *)this->hidden->buffer + this->hidden->bufferOffset, ptr, len);
ptr += len;
remaining -= len;
Expand Down

0 comments on commit 5de11a5

Please sign in to comment.