commit a8e5e09d69aba866ae252db483496dcc62d2a3be
parent a46ad045fc916bf21be4c622c5aec401c9130aad
Author: Christopher A. Oliver <[email protected]>
Date: Sun, 1 Nov 2015 23:41:51 -0500
Comment out some debugs
Diffstat:
2 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/Misc/MiddleWare.cpp b/src/Misc/MiddleWare.cpp
@@ -705,7 +705,7 @@ class MwDataObj:public rtosc::RtData
virtual void chain(const char *msg) override
{
assert(msg);
- printf("chain call on <%s>\n", msg);
+ // printf("chain call on <%s>\n", msg);
mwi->handleMsg(msg);
}
diff --git a/src/Synth/OscilGen.cpp b/src/Synth/OscilGen.cpp
@@ -123,7 +123,7 @@ const rtosc::Ports OscilGen::non_realtime_ports = {
OscilGen &o = *((OscilGen*)d.obj);
fft_t *data = new fft_t[o.synth.oscilsize / 2];
o.prepare(data);
- fprintf(stderr, "sending '%p' of fft data\n", data);
+ // fprintf(stderr, "sending '%p' of fft data\n", data);
d.chain(repath, "b", sizeof(fft_t*), &data);
o.pendingfreqs = data;
}
@@ -176,7 +176,7 @@ const rtosc::Ports OscilGen::non_realtime_ports = {
OscilGen &o = *(OscilGen*)d.obj;
fft_t *data = new fft_t[o.synth.oscilsize / 2];
o.prepare(data);
- fprintf(stderr, "sending '%p' of fft data\n", data);
+ // fprintf(stderr, "sending '%p' of fft data\n", data);
d.chain(d.loc, "b", sizeof(fft_t*), &data);
o.pendingfreqs = data;
}},
@@ -210,7 +210,7 @@ const rtosc::Ports OscilGen::realtime_ports{
"Adaptive Harmonics Postprocessing Power"),
{"prepare:b", rProp(internal) rProp(realtime) rProp(pointer) rDoc("Sets prepared fft data"),
NULL, [](const char *m, rtosc::RtData &d) {
- fprintf(stderr, "prepare:b got a message from '%s'\n", m);
+ // fprintf(stderr, "prepare:b got a message from '%s'\n", m);
OscilGen &o = *(OscilGen*)d.obj;
assert(rtosc_argument(m,0).b.len == sizeof(void*));
d.reply("/free", "sb", "fft_t", sizeof(void*), &o.oscilFFTfreqs);