| 332 | } |
| 333 | |
| 334 | const String generateRandomUniquePluginId() |
| 335 | { |
| 336 | String ret; |
| 337 | |
| 338 | static const char alphanum[] = |
| 339 | "0123456789" |
| 340 | "ABCDEFGHIJKLMNOPQRSTUVWXYZ" |
| 341 | "abcdefghijklmnopqrstuvwxyz"; |
| 342 | |
| 343 | for (int i = 0; i < 4; ++i) |
| 344 | { |
| 345 | ret << alphanum[rand() % (sizeof(alphanum) - 1)]; |
| 346 | } |
| 347 | |
| 348 | return (ret); |
| 349 | } |
| 350 | |
| 351 | int getMidiNumberFromModulator(CtrlrModulator *m, const CtrlrMIDIDeviceType source) |
| 352 | { |
no outgoing calls
no test coverage detected