made CLI rendering smoother

Suppressed a message box that would pop up in command
line interface causing a crash and made lmms act properly
when a rendering plugin fails. Need to figure out how to
terminate program in project_renderer line 222.
This commit is contained in:
Andrew Kelley
2009-08-12 07:14:44 -07:00
parent 0ab12b4eb9
commit 6cf2d83808
4 changed files with 37 additions and 11 deletions

View File

@@ -28,6 +28,7 @@
#include "audio_file_device.h"
#include "lmmsconfig.h"
class QTimer;
class projectRenderer : public QThread
{
@@ -83,6 +84,10 @@ public:
static ExportFileFormats getFileFormatFromExtension(
const QString & _ext );
void setConsoleUpdateTimer(QTimer * t)
{
m_consoleUpdateTimer = t;
}
public slots:
void startProcessing( void );
@@ -105,6 +110,8 @@ private:
volatile int m_progress;
volatile bool m_abort;
QTimer * m_consoleUpdateTimer;
} ;