* use one static jobqueue for not getting problems with cached pointers

* check for job being NULL
* improved performance of master mix



git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1721 0778d3d1-df1d-0410-868b-ea421aaaa00d
This commit is contained in:
Tobias Doerffel
2008-10-02 11:46:29 +00:00
parent 8ed597ea9f
commit e679f8c52f
3 changed files with 78 additions and 91 deletions

View File

@@ -62,10 +62,10 @@ public:
virtual ~fxMixer();
void mixToChannel( const sampleFrame * _buf, fx_ch_t _ch );
void processChannel( fx_ch_t _ch );
void processChannel( fx_ch_t _ch, sampleFrame * _buf = NULL );
void prepareMasterMix( void );
const surroundSampleFrame * masterMix( void );
void masterMix( sampleFrame * _buf );
void clear( void );
@@ -81,7 +81,6 @@ public:
private:
fxChannel * m_fxChannels[NumFxChannels+1]; // +1 = master
surroundSampleFrame * m_out;
friend class mixerWorkerThread;