Merge pull request #2237 from M374LX/iss1878

Fix #1878
This commit is contained in:
Colin Wallace
2015-08-09 09:08:25 -07:00
6 changed files with 33 additions and 32 deletions

View File

@@ -46,7 +46,7 @@ class EXPORT Engine : public QObject
{
Q_OBJECT
public:
static void init();
static void init( bool renderOnly );
static void destroy();
// core

View File

@@ -57,6 +57,7 @@ class MidiClient;
class AudioPort;
const fpp_t MINIMUM_BUFFER_SIZE = 32;
const fpp_t DEFAULT_BUFFER_SIZE = 256;
const int BYTES_PER_SAMPLE = sizeof( sample_t );
@@ -382,7 +383,7 @@ private:
} ;
Mixer();
Mixer( bool renderOnly );
virtual ~Mixer();
void startProcessing( bool _needs_fifo = true );