| 80 | } |
| 81 | |
| 82 | void LinnstrumentControl::InitController() |
| 83 | { |
| 84 | BuildControllerList(); |
| 85 | |
| 86 | const std::vector<std::string>& devices = mDevice.GetPortList(false); |
| 87 | for (int i = 0; i < devices.size(); ++i) |
| 88 | { |
| 89 | if (strstr(devices[i].c_str(), "LinnStrument") != nullptr) |
| 90 | { |
| 91 | mControllerIndex = i; |
| 92 | mDevice.ConnectOutput(i); |
| 93 | mDevice.ConnectInput(devices[i].c_str()); |
| 94 | UpdateScaleDisplay(); |
| 95 | break; |
| 96 | } |
| 97 | } |
| 98 | } |
| 99 | |
| 100 | void LinnstrumentControl::DrawModule() |
| 101 | { |
nothing calls this directly
no test coverage detected