From e7832c9ad4f3ab6227c9a107224ecad50eab5f92 Mon Sep 17 00:00:00 2001 From: Steve Checkoway Date: Mon, 11 Dec 2006 13:31:51 +0000 Subject: [PATCH] Mix using the vector unit on OS X. --- stepmania/src/RageSoundMixBuffer.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/stepmania/src/RageSoundMixBuffer.cpp b/stepmania/src/RageSoundMixBuffer.cpp index 2b05919d5a..2d4e876632 100644 --- a/stepmania/src/RageSoundMixBuffer.cpp +++ b/stepmania/src/RageSoundMixBuffer.cpp @@ -83,7 +83,7 @@ void RageSoundMixBuffer::write( const int16_t *pBuf, unsigned iSize, int iSource void RageSoundMixBuffer::read( int16_t *pBuf ) { #ifdef USE_VEC - if( g_bVector && (intptr_t(pBuf) & 0xF) == 0 ) + if( g_bVector ) { Vector::FastSoundRead( pBuf, m_pMixbuf, m_iBufUsed ); m_iBufUsed = 0; @@ -101,7 +101,7 @@ void RageSoundMixBuffer::read( int16_t *pBuf ) void RageSoundMixBuffer::read( float *pBuf ) { #ifdef USE_VEC - if( g_bVector && (intptr_t(pBuf) & 0xF) == 0 ) + if( g_bVector ) { Vector::FastSoundRead( pBuf, m_pMixbuf, m_iBufUsed ); m_iBufUsed = 0;