From 768c25ed1bb5d69963999f81445d0333bff43694 Mon Sep 17 00:00:00 2001 From: Steve Checkoway Date: Mon, 11 Dec 2006 13:31:10 +0000 Subject: [PATCH] Comment. --- stepmania/src/archutils/Darwin/VectorHelper.h | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/stepmania/src/archutils/Darwin/VectorHelper.h b/stepmania/src/archutils/Darwin/VectorHelper.h index a82d91667b..36638153b4 100644 --- a/stepmania/src/archutils/Darwin/VectorHelper.h +++ b/stepmania/src/archutils/Darwin/VectorHelper.h @@ -11,9 +11,10 @@ namespace Vector // Dest and src need only natural alignment for their types. void FastSoundWrite( int32_t *dest, const int16_t *src, unsigned size, short volume ); - /* For both FastSoundRead(), dest and src need to be 16 byte aligned. The audio HAL - * will provide a 16-byte aligned buffer and RageSoundMixBuffer's buffer is also - * 16-byte aligned since it lives on the heap. */ + /* For both FastSoundRead(), src needs to be 16 byte aligned and (intel) performance + * is better if dest is also 16 byte aligned but it need only be type aligned. The + * audio HAL will provide 16 byte aligned buffers and RageSoundMixBuffer's buffer + * will always be 16-byte aligned on OS X since it's on the heap. */ void FastSoundRead( int16_t *dest, const int32_t *src, unsigned size ); void FastSoundRead( float *dest, const int32_t *src, unsigned size ); }