Commit 5de11a5fc5fd3c597d987d0160a452f8ed674ee7

Ryan C. Gordon 2016-08-09T16:58:06

Added a FIXME.

1
2
3
4
5
6
7
8
9
10
11
12
diff --git a/src/audio/coreaudio/SDL_coreaudio.c b/src/audio/coreaudio/SDL_coreaudio.c
index 7a11c20..83a66a3 100644
--- a/src/audio/coreaudio/SDL_coreaudio.c
+++ b/src/audio/coreaudio/SDL_coreaudio.c
@@ -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;