|
|
|
@@ -1733,7 +1733,8 @@ void CarlaPlugin::setChunkData(const void* const data, const std::size_t dataSiz |
|
|
|
CARLA_SAFE_ASSERT(false); // this should never happen |
|
|
|
} |
|
|
|
|
|
|
|
void CarlaPlugin::setProgram(const int32_t index, const bool sendGui, const bool sendOsc, const bool sendCallback, const bool) noexcept |
|
|
|
void CarlaPlugin::setProgram(const int32_t index, |
|
|
|
const bool sendGui, const bool sendOsc, const bool sendCallback, const bool) noexcept |
|
|
|
{ |
|
|
|
CARLA_SAFE_ASSERT_RETURN(index >= -1 && index < static_cast<int32_t>(pData->prog.count),); |
|
|
|
|
|
|
|
@@ -1758,13 +1759,14 @@ void CarlaPlugin::setProgram(const int32_t index, const bool sendGui, const bool |
|
|
|
break; |
|
|
|
|
|
|
|
default: |
|
|
|
pData->updateParameterValues(this, sendOsc, sendCallback, true); |
|
|
|
pData->updateParameterValues(this, sendCallback, sendOsc, true); |
|
|
|
break; |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
void CarlaPlugin::setMidiProgram(const int32_t index, const bool sendGui, const bool sendOsc, const bool sendCallback, const bool) noexcept |
|
|
|
void CarlaPlugin::setMidiProgram(const int32_t index, |
|
|
|
const bool sendGui, const bool sendOsc, const bool sendCallback, const bool) noexcept |
|
|
|
{ |
|
|
|
CARLA_SAFE_ASSERT_RETURN(index >= -1 && index < static_cast<int32_t>(pData->midiprog.count),); |
|
|
|
|
|
|
|
@@ -1789,7 +1791,7 @@ void CarlaPlugin::setMidiProgram(const int32_t index, const bool sendGui, const |
|
|
|
break; |
|
|
|
|
|
|
|
default: |
|
|
|
pData->updateParameterValues(this, sendOsc, sendCallback, true); |
|
|
|
pData->updateParameterValues(this, sendCallback, sendOsc, true); |
|
|
|
break; |
|
|
|
} |
|
|
|
} |
|
|
|
|