diff options
Diffstat (limited to 'libao2/ao_jack.c')
-rw-r--r-- | libao2/ao_jack.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libao2/ao_jack.c b/libao2/ao_jack.c index 556a887a4b..1e9dbff8c8 100644 --- a/libao2/ao_jack.c +++ b/libao2/ao_jack.c @@ -111,10 +111,10 @@ static int write_buffer(unsigned char* data, int len) { 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; |