| 1532 | } |
| 1533 | |
| 1534 | CtrlrModulator* CtrlrPanel::getModulator (const String& name) const |
| 1535 | { |
| 1536 | // return (modulatorsByName[name]); |
| 1537 | for (int i=0; i<ctrlrModulators.size(); i++) |
| 1538 | { |
| 1539 | if (ctrlrModulators[i]->getProperty (Ids::name) == name) |
| 1540 | { |
| 1541 | return (ctrlrModulators[i]); |
| 1542 | } |
| 1543 | } |
| 1544 | return (0); |
| 1545 | } |
| 1546 | |
| 1547 | CtrlrModulator* CtrlrPanel::getModulatorByVstIndex (const int vstIndex) |
| 1548 | { |
no test coverage detected