- made effect::processAudioBuffer(...) process a sampleFrame- instead of

surroundSampleFrame-array
- divide out_sum by number of frames processed to have a
  period-size-independent value



git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@876 0778d3d1-df1d-0410-868b-ea421aaaa00d
This commit is contained in:
Tobias Doerffel
2008-04-03 20:29:11 +00:00
parent 297b57274c
commit 8146dc3d30
13 changed files with 95 additions and 41 deletions

View File

@@ -62,8 +62,8 @@ public:
}
virtual bool processAudioBuffer(
surroundSampleFrame * _buf, const fpp_t _frames );
virtual bool processAudioBuffer( sampleFrame * _buf,
const fpp_t _frames ) = 0;
inline ch_cnt_t getProcessorCount( void ) const
{

View File

@@ -30,6 +30,7 @@
#include <QtGui/QListWidget>
#include "effect_chain.h"
#include "effect.h"
class QScrollArea;

View File

@@ -51,7 +51,7 @@ public:
surroundAreaModel( ::model * _parent, track * _track = NULL,
bool _default_constructed = FALSE );
volumeVector getVolumeVector( float _v_scale ) const;
surroundVolumeVector getVolumeVector( float _v_scale ) const;
void saveSettings( QDomDocument & _doc, QDomElement & _this,
const QString & _name = "surpos" );