# HG changeset patch # User Ryan C. Gordon # Date 1470776286 14400 # Node ID 77a266c9c7866a89ac3f1eacac2afbe3845f25e3 # Parent 2b8bb76140a551cde757ff6a7cb8408f8e18a359 Added a FIXME. diff -r 2b8bb76140a5 -r 77a266c9c786 src/audio/coreaudio/SDL_coreaudio.c --- a/src/audio/coreaudio/SDL_coreaudio.c Tue Aug 09 16:57:49 2016 -0400 +++ b/src/audio/coreaudio/SDL_coreaudio.c Tue Aug 09 16:58:06 2016 -0400 @@ -375,6 +375,7 @@ 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;