-
Notifications
You must be signed in to change notification settings - Fork 28
Open
Description
I made this change to get numChansIn and numChansOut updated even when not calling draw();
new code:
void ofxSoundMatrixMixerRenderer::drawStatus(float x, float y){
if(obj != nullptr){
if(numChansIn != obj->getNumInputChannels() ||
numChansOut != obj->getNumOutputChannels()){
numChansIn = obj->getNumInputChannels();
numChansOut = obj->getNumOutputChannels();
}
}
std::stringstream ss;
ss << "Num Output Channels : " << numChansOut << std::endl;
ss << "Num Input Channels : " << numChansIn << std::endl;
ss << "Num Input Objects : " << obj->inObjects.size() << std::endl;
ofDrawBitmapStringHighlight(ss.str(), x, y);
}
current code:
| void ofxSoundMatrixMixerRenderer::drawStatus(float x, float y){ |
Metadata
Metadata
Assignees
Labels
No labels