author | Ryan C. Gordon <icculus@icculus.org> |
Tue, 09 Aug 2016 16:58:06 -0400 | |
changeset 10255 | 77a266c9c786 |
parent 10254 | 2b8bb76140a5 |
child 10256 | cc6461b9c5bc |
--- 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;