use sampleFrame-array instead of surroundSampleFrame-array for processing

git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@872 0778d3d1-df1d-0410-868b-ea421aaaa00d
This commit is contained in:
Tobias Doerffel
2008-04-03 20:20:09 +00:00
parent 6c27622a17
commit 98c2a2a3de
2 changed files with 6 additions and 7 deletions

View File

@@ -39,11 +39,11 @@ public:
audioPort( const QString & _name, track * _track );
~audioPort();
inline surroundSampleFrame * firstBuffer( void )
inline sampleFrame * firstBuffer( void )
{
return( m_firstBuffer );
}
inline surroundSampleFrame * secondBuffer( void )
inline sampleFrame * secondBuffer( void )
{
return( m_secondBuffer );
}
@@ -120,8 +120,8 @@ public:
}
private:
surroundSampleFrame * m_firstBuffer;
surroundSampleFrame * m_secondBuffer;
sampleFrame * m_firstBuffer;
sampleFrame * m_secondBuffer;
QMutex m_firstBufferLock;
QMutex m_secondBufferLock;

View File

@@ -35,9 +35,8 @@
audioPort::audioPort( const QString & _name, track * _track ) :
m_bufferUsage( NoUsage ),
m_firstBuffer( new surroundSampleFrame[
engine::getMixer()->framesPerPeriod()] ),
m_secondBuffer( new surroundSampleFrame[
m_firstBuffer( new sampleFrame[engine::getMixer()->framesPerPeriod()] ),
m_secondBuffer( new sampleFrame[
engine::getMixer()->framesPerPeriod()] ),
m_extOutputEnabled( FALSE ),
m_nextFxChannel( 0 ),