| 68 | } |
| 69 | |
| 70 | void MidiClockIn::InitDevice() |
| 71 | { |
| 72 | BuildDeviceList(); |
| 73 | |
| 74 | const std::vector<std::string>& devices = mDevice.GetPortList(true); |
| 75 | for (int i = 0; i < devices.size(); ++i) |
| 76 | { |
| 77 | if (strcmp(devices[i].c_str(), mDevice.Name()) == 0) |
| 78 | mDeviceIndex = i; |
| 79 | } |
| 80 | } |
| 81 | |
| 82 | float MidiClockIn::GetRoundedTempo() |
| 83 | { |
nothing calls this directly
no test coverage detected