* LADSPA-effect: added "Notch Filter" to blacklist

* all effect-plugins: replaced old code with effect::checkGate() call, various cleanups and minor optimizations
* effectChain: added debugging-code for determining buggy effect-plugins at higher samplerates
* plugin: introduced changable publicName-property
* effect: added checkGate()-function for reducing redundant code in effect-plugins



git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@981 0778d3d1-df1d-0410-868b-ea421aaaa00d
This commit is contained in:
Tobias Doerffel
2008-05-18 11:31:55 +00:00
parent 37f059c6be
commit 6364a099ad
10 changed files with 101 additions and 77 deletions

View File

@@ -171,6 +171,8 @@ public:
protected:
void checkGate( double _out_sum );
virtual pluginView * instantiateView( QWidget * );
// some effects might not be capable of higher sample-rates so they can

View File

@@ -169,7 +169,13 @@ public:
// returns public-name out of descriptor
virtual inline QString publicName( void ) const
{
return( m_descriptor->public_name );
return( m_publicName != QString::null ?
m_publicName : m_descriptor->public_name );
}
virtual void setPublicName( const QString & _public_name )
{
m_publicName = _public_name;
}
// return plugin-type
@@ -228,6 +234,7 @@ protected:
private:
const descriptor * m_descriptor;
QString m_publicName;
// pointer to instantiation-function in plugin
typedef plugin * ( * instantiationHook )( model *, void * );