made processAudioBuffer() take a sampleFrame-pointer
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@867 0778d3d1-df1d-0410-868b-ea421aaaa00d
This commit is contained in:
@@ -26,7 +26,12 @@
|
||||
#ifndef _EFFECT_CHAIN_H
|
||||
#define _EFFECT_CHAIN_H
|
||||
|
||||
#include "effect.h"
|
||||
#include "mv_base.h"
|
||||
#include "journalling_object.h"
|
||||
#include "mixer.h"
|
||||
#include "automatable_model.h"
|
||||
|
||||
class effect;
|
||||
|
||||
|
||||
class effectChain : public journallingObject, public model
|
||||
@@ -47,8 +52,7 @@ public:
|
||||
void removeEffect( effect * _effect );
|
||||
void moveDown( effect * _effect );
|
||||
void moveUp( effect * _effect );
|
||||
bool processAudioBuffer( surroundSampleFrame * _buf,
|
||||
const fpp_t _frames );
|
||||
bool processAudioBuffer( sampleFrame * _buf, const fpp_t _frames );
|
||||
void startRunning( void );
|
||||
bool isRunning( void );
|
||||
|
||||
|
||||
@@ -27,6 +27,7 @@
|
||||
|
||||
|
||||
#include "effect_chain.h"
|
||||
#include "effect.h"
|
||||
#include "engine.h"
|
||||
#include "automatable_model_templates.h"
|
||||
#include "track.h"
|
||||
@@ -91,7 +92,7 @@ void effectChain::loadSettings( const QDomElement & _this )
|
||||
effect * e = effect::instantiate( name, this, &key );
|
||||
m_effects.push_back( e );
|
||||
// TODO: somehow detect if effect is sub-plugin-capable
|
||||
// but couldn't load sub-plugin with requsted key
|
||||
// but couldn't load sub-plugin with requested key
|
||||
if( node.isElement() )
|
||||
{
|
||||
if( e->nodeName() == node.nodeName() )
|
||||
@@ -181,8 +182,7 @@ void effectChain::moveUp( effect * _effect )
|
||||
|
||||
|
||||
|
||||
bool effectChain::processAudioBuffer( surroundSampleFrame * _buf,
|
||||
const fpp_t _frames )
|
||||
bool effectChain::processAudioBuffer( sampleFrame * _buf, const fpp_t _frames )
|
||||
{
|
||||
if( m_enabledModel.value() == FALSE )
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user