| 331 | |
| 332 | #if DISTRHO_PLUGIN_WANT_PROGRAMS |
| 333 | void setMidiProgram(const uint8_t, const uint32_t bank, const uint32_t program) override |
| 334 | { |
| 335 | const uint32_t realProgram(bank * 128 + program); |
| 336 | |
| 337 | CARLA_SAFE_ASSERT_RETURN(realProgram < getMidiProgramCount(),); |
| 338 | |
| 339 | fPlugin.loadProgram(realProgram); |
| 340 | } |
| 341 | #endif |
| 342 | |
| 343 | #if DISTRHO_PLUGIN_WANT_STATE |
nothing calls this directly
no test coverage detected