commit 28ba182502484d6874f2c77c4175aa769729c129
parent aafe52494bd65f00bf91324550f7fcaf69eb3923
Author: Johannes Lorenz <[email protected]>
Date: Fri, 24 Mar 2023 17:21:14 +0100
Documentation, non functional
Diffstat:
3 files changed, 8 insertions(+), 10 deletions(-)
diff --git a/src/Effects/EffectMgr.h b/src/Effects/EffectMgr.h
@@ -61,7 +61,7 @@ class EffectMgr:public Presets
unsigned char geteffectpar(int npar);
unsigned char geteffectparrt(int npar) REALTIME;
- const bool insertion;
+ const bool insertion; //!< true iff insertion or part fx
float *efxoutl, *efxoutr;
// used by UI
diff --git a/src/Misc/MiddleWare.cpp b/src/Misc/MiddleWare.cpp
@@ -830,17 +830,11 @@ public:
std::ofstream ofs(filename);
ofs << savefile;
}
- else {
- std::cout << "The savefile content follows" << std::endl;
- std::cout << "---->8----" << std::endl;
- std::cout << savefile << std::endl;
- std::cout << "---->8----" << std::endl;
- }
}
else
{
std::cout << savefile << std::endl;
- std::cerr << "Can not write OSC savefile!! (see tmp1.txt and tmp2.txt)"
+ std::cerr << "Cannot write OSC savefile!! (see tmp1.txt and tmp2.txt)"
<< std::endl;
std::ofstream tmp1("tmp1.txt"), tmp2("tmp2.txt");
tmp1 << xml;
@@ -2217,7 +2211,8 @@ void MiddleWareImpl::broadcastToRemote(const char *rtmsg)
void MiddleWareImpl::sendToRemote(const char *rtmsg, std::string dest)
{
if(!rtmsg || rtmsg[0] != '/' || !rtosc_message_length(rtmsg, -1)) {
- printf("[Warning] Invalid message in sendToRemote <%s>...\n", rtmsg);
+ printf("[Warning] Invalid message in sendToRemote <%s, %s>...\n",
+ rtmsg, dest.c_str());
return;
}
diff --git a/src/Tests/SaveOSC.cpp b/src/Tests/SaveOSC.cpp
@@ -156,7 +156,10 @@ class SaveOSCTest
// (ignore)
}
else
- fprintf(stderr, "Unknown message \"%s\", ignoring...\n", msg);
+ {
+ // parameter update triggers message to UI
+ // (ignore)
+ }
}
public: