diff libao2/ao_jack.c @ 23457:a124f3abc1ec

Replace implicit use of fast_memcpy via macro by explicit use to allow for future optimization.
author reimar
date Tue, 05 Jun 2007 14:27:54 +0000
parents 99e20a22d5d0
children acfe034e5386
line wrap: on
line diff
--- a/libao2/ao_jack.c	Tue Jun 05 14:12:37 2007 +0000
+++ b/libao2/ao_jack.c	Tue Jun 05 14:27:54 2007 +0000
@@ -111,10 +111,10 @@
   if (len > free) len = free;
   if (first_len > len) first_len = len;
   // till end of buffer
-  memcpy (&buffer[write_pos], data, first_len);
+  fast_memcpy (&buffer[write_pos], data, first_len);
   if (len > first_len) { // we have to wrap around
     // remaining part from beginning of buffer
-    memcpy (buffer, &data[first_len], len - first_len);
+    fast_memcpy (buffer, &data[first_len], len - first_len);
   }
   write_pos = (write_pos + len) % BUFFSIZE;
   return len;