commit abb7f2964e6679eb9ff56161e9493515e7b1b6be
parent 70e0346ea40f655a48a277a3cdc234c718e3082b
Author: fundamental <mark.d.mccurry@gmail.com>
Date: Fri, 18 Dec 2009 10:51:15 -0500
Nio: Removing old debugging code
Diffstat:
2 files changed, 0 insertions(+), 27 deletions(-)
diff --git a/src/Misc/Master.cpp b/src/Misc/Master.cpp
@@ -25,7 +25,6 @@
#include "../Params/LFOParams.h"
#include "../Effects/EffectMgr.h"
-#include "../Nio/NulEngine.h"
#include <stdio.h>
#include <sys/stat.h>
@@ -38,7 +37,6 @@ using namespace std;
Master::Master()
{
- myNull=NULL;
swaplr = 0;
pthread_mutex_init(&mutex, NULL);
@@ -667,26 +665,6 @@ vuData Master::getVuData()
return tmp;
}
-void Master::toggleNull()
-{
- if(myNull==NULL)
- {
- myNull=new NulEngine(sysOut);
- nullRun=false;
- }
- if(nullRun)
- {
- sysOut->add(myNull);
- cout << "Inserting A Null Output-----------------" << endl;
- }
- else
- {
- sysOut->remove(myNull);
- cout << "Uninserting A Null Output-----------------" << endl;
- }
- nullRun=!nullRun;
-}
-
void Master::applyparameters()
{
for(int npart = 0; npart < NUM_MIDI_PARTS; npart++)
diff --git a/src/Misc/Master.h b/src/Misc/Master.h
@@ -38,8 +38,6 @@ typedef enum { MUTEX_TRYLOCK, MUTEX_LOCK, MUTEX_UNLOCK } lockset;
extern Dump dump;
-class NulEngine;
-
typedef struct vuData_t {
REALTYPE outpeakl, outpeakr, maxoutpeakl, maxoutpeakr,
rmspeakl, rmspeakr;
@@ -160,10 +158,7 @@ class Master
pthread_mutex_t mutex;
pthread_mutex_t vumutex;
- void toggleNull();//temporary debug function
-
private:
- NulEngine *myNull;
bool nullRun;
vuData vu;
REALTYPE volume;