diff --git a/include/Mixer.h b/include/Mixer.h index fb4871cfa..146bd5af8 100644 --- a/include/Mixer.h +++ b/include/Mixer.h @@ -400,8 +400,6 @@ private: fpp_t m_framesPerPeriod; - sampleFrame * m_workingBuf; - sampleFrame * m_inputBuffer[2]; f_cnt_t m_inputBufferFrames[2]; f_cnt_t m_inputBufferSize[2]; diff --git a/src/core/Mixer.cpp b/src/core/Mixer.cpp index 1e30ef8a9..6b1753c2a 100644 --- a/src/core/Mixer.cpp +++ b/src/core/Mixer.cpp @@ -61,7 +61,6 @@ Mixer::Mixer( bool renderOnly ) : m_framesPerPeriod( DEFAULT_BUFFER_SIZE ), - m_workingBuf( NULL ), m_inputBufferRead( 0 ), m_inputBufferWrite( 1 ), m_readBuf( NULL ), @@ -119,8 +118,6 @@ Mixer::Mixer( bool renderOnly ) : // now that framesPerPeriod is fixed initialize global BufferManager BufferManager::init( m_framesPerPeriod ); - m_workingBuf = (sampleFrame*) MemoryHelper::alignedMalloc( m_framesPerPeriod * - sizeof( sampleFrame ) ); for( int i = 0; i < 3; i++ ) { m_readBuf = (surroundSampleFrame*) @@ -177,8 +174,6 @@ Mixer::~Mixer() MemoryHelper::alignedFree( m_bufferPool[i] ); } - MemoryHelper::alignedFree( m_workingBuf ); - for( int i = 0; i < 2; ++i ) { delete[] m_inputBuffer[i];