Disable vector code for now. It needs to be updated for floats.
This commit is contained in:
@@ -78,14 +78,14 @@ void RageSoundMixBuffer::write( const float *pBuf, unsigned iSize, int iSourceSt
|
|||||||
|
|
||||||
void RageSoundMixBuffer::read( int16_t *pBuf )
|
void RageSoundMixBuffer::read( int16_t *pBuf )
|
||||||
{
|
{
|
||||||
#ifdef USE_VEC
|
/* #ifdef USE_VEC
|
||||||
if( g_bVector )
|
if( g_bVector )
|
||||||
{
|
{
|
||||||
Vector::FastSoundRead( pBuf, m_pMixbuf, m_iBufUsed );
|
Vector::FastSoundRead( pBuf, m_pMixbuf, m_iBufUsed );
|
||||||
m_iBufUsed = 0;
|
m_iBufUsed = 0;
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
#endif
|
#endif */
|
||||||
for( unsigned iPos = 0; iPos < m_iBufUsed; ++iPos )
|
for( unsigned iPos = 0; iPos < m_iBufUsed; ++iPos )
|
||||||
{
|
{
|
||||||
float iOut = m_pMixbuf[iPos];
|
float iOut = m_pMixbuf[iPos];
|
||||||
@@ -97,14 +97,14 @@ void RageSoundMixBuffer::read( int16_t *pBuf )
|
|||||||
|
|
||||||
void RageSoundMixBuffer::read( float *pBuf )
|
void RageSoundMixBuffer::read( float *pBuf )
|
||||||
{
|
{
|
||||||
#ifdef USE_VEC
|
/*#ifdef USE_VEC
|
||||||
if( g_bVector )
|
if( g_bVector )
|
||||||
{
|
{
|
||||||
Vector::FastSoundRead( pBuf, m_pMixbuf, m_iBufUsed );
|
Vector::FastSoundRead( pBuf, m_pMixbuf, m_iBufUsed );
|
||||||
m_iBufUsed = 0;
|
m_iBufUsed = 0;
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
#endif
|
#endif*/
|
||||||
|
|
||||||
for( unsigned pos = 0; pos < m_iBufUsed; ++pos )
|
for( unsigned pos = 0; pos < m_iBufUsed; ++pos )
|
||||||
pBuf[pos] = m_pMixbuf[pos];
|
pBuf[pos] = m_pMixbuf[pos];
|
||||||
|
|||||||
Reference in New Issue
Block a user