Remove unused Mixer::m_workingBuf

This commit is contained in:
M374LX
2015-09-30 22:58:44 -03:00
parent 5489040f20
commit 12e2da9b44
2 changed files with 0 additions and 7 deletions

View File

@@ -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];

View File

@@ -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];