RemotePlugin: do not skip audio processing when debugging

If DEBUG_REMOTE_PLUGIN was set, RemotePlugin::process() always returned
as RemotePlugin::isRunning() returned false. Fix this by always
returning true when debugging.
This commit is contained in:
Tobias Doerffel
2009-08-28 23:54:18 +02:00
parent 78536d9065
commit ee63a13f2d
2 changed files with 9 additions and 8 deletions

View File

@@ -22,8 +22,11 @@
*
*/
#define COMPILE_REMOTE_PLUGIN_BASE
//#define DEBUG_REMOTE_PLUGIN
#ifdef DEBUG_REMOTE_PLUGIN
#include <QtCore/QDebug>
#endif
#include "RemotePlugin.h"
#include "mixer.h"
@@ -36,11 +39,6 @@
#include <unistd.h>
#endif
//#define DEBUG_REMOTE_PLUGIN
#ifdef DEBUG_REMOTE_PLUGIN
#include <QtCore/QDebug>
#endif
// simple helper thread monitoring our RemotePlugin - if process terminates
// unexpectedly invalidate plugin so LMMS doesn't lock up