From a579593c52fca708cf0c5c00c1123788b0aebac1 Mon Sep 17 00:00:00 2001 From: Steve Checkoway Date: Sat, 27 Jan 2007 13:24:39 +0000 Subject: [PATCH] Disable vector code for now. It needs to be updated for floats. --- stepmania/src/RageSoundMixBuffer.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/stepmania/src/RageSoundMixBuffer.cpp b/stepmania/src/RageSoundMixBuffer.cpp index 21deadc106..8e12be4d7a 100644 --- a/stepmania/src/RageSoundMixBuffer.cpp +++ b/stepmania/src/RageSoundMixBuffer.cpp @@ -78,14 +78,14 @@ void RageSoundMixBuffer::write( const float *pBuf, unsigned iSize, int iSourceSt void RageSoundMixBuffer::read( int16_t *pBuf ) { -#ifdef USE_VEC +/* #ifdef USE_VEC if( g_bVector ) { Vector::FastSoundRead( pBuf, m_pMixbuf, m_iBufUsed ); m_iBufUsed = 0; return; } -#endif +#endif */ for( unsigned iPos = 0; iPos < m_iBufUsed; ++iPos ) { float iOut = m_pMixbuf[iPos]; @@ -97,14 +97,14 @@ void RageSoundMixBuffer::read( int16_t *pBuf ) void RageSoundMixBuffer::read( float *pBuf ) { -#ifdef USE_VEC +/*#ifdef USE_VEC if( g_bVector ) { Vector::FastSoundRead( pBuf, m_pMixbuf, m_iBufUsed ); m_iBufUsed = 0; return; } -#endif +#endif*/ for( unsigned pos = 0; pos < m_iBufUsed; ++pos ) pBuf[pos] = m_pMixbuf[pos];