Added a FIXME.
authorRyan C. Gordon <icculus@icculus.org>
Tue, 09 Aug 2016 16:58:06 -0400
changeset 1027377a266c9c786
parent 10272 2b8bb76140a5
child 10274 cc6461b9c5bc
Added a FIXME.
src/audio/coreaudio/SDL_coreaudio.c
     1.1 --- a/src/audio/coreaudio/SDL_coreaudio.c	Tue Aug 09 16:57:49 2016 -0400
     1.2 +++ b/src/audio/coreaudio/SDL_coreaudio.c	Tue Aug 09 16:58:06 2016 -0400
     1.3 @@ -375,6 +375,7 @@
     1.4              if (len > remaining)
     1.5                  len = remaining;
     1.6  
     1.7 +            /* !!! FIXME: why are we copying here? just pass the buffer to the callback? */
     1.8              SDL_memcpy((char *)this->hidden->buffer + this->hidden->bufferOffset, ptr, len);
     1.9              ptr += len;
    1.10              remaining -= len;