| 109 | } |
| 110 | |
| 111 | bool CtrlrMidiInputComparatorMulti::cacheMatch () |
| 112 | { |
| 113 | bool match = false; |
| 114 | |
| 115 | for (int i=0; i<cache.size(); i++) |
| 116 | { |
| 117 | if (compareMemory(cache[i].key.toMemoryBlock(), messageContainer.getData())) |
| 118 | { |
| 119 | match = true; |
| 120 | |
| 121 | for (int j=0; j<cache[i].mapData.targets.size(); j++) |
| 122 | { |
| 123 | cache[i].mapData.targets[j]->getProcessor().setValueFromMIDI (messageContainer, source); |
| 124 | owner.multiMidiReceived(messageContainer); |
| 125 | } |
| 126 | |
| 127 | break; |
| 128 | } |
| 129 | } |
| 130 | |
| 131 | return (match); |
| 132 | } |
| 133 | |
| 134 | void CtrlrMidiInputComparatorMulti::updateState(const bool match) |
| 135 | { |
nothing calls this directly
no test coverage detected