FxMixer: rewrote processing of FX channels
Rewrote the way FX channels (FX lines) are processed, i.e. the calculation when to process which channel. This patch based on a patch by Stefan Fendt but includes further improvements regarding multithreading.
This commit is contained in:
@@ -36,7 +36,7 @@
|
||||
class FxChannel : public ThreadableJob
|
||||
{
|
||||
public:
|
||||
FxChannel( Model * _parent );
|
||||
FxChannel( int idx, Model * _parent );
|
||||
~FxChannel();
|
||||
|
||||
EffectChain m_fxChain;
|
||||
|
||||
@@ -62,7 +62,7 @@ public:
|
||||
m_state = Queued;
|
||||
}
|
||||
|
||||
void process( sampleFrame * _working_buffer )
|
||||
void process( sampleFrame * _working_buffer = NULL )
|
||||
{
|
||||
if( m_state.testAndSetOrdered( Queued, InProgress ) )
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user