Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:kill_it:JUCE
blocks
02-blocks-return-in-nonvoid.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File 02-blocks-return-in-nonvoid.patch of Package blocks
diff --git a/Source/blocks_plugin_processor.cpp b/Source/blocks_plugin_processor.cpp index 434bcd0..b5c1658 100644 --- a/Source/blocks_plugin_processor.cpp +++ b/Source/blocks_plugin_processor.cpp @@ -406,11 +406,13 @@ std::shared_ptr<model::Block> PluginProcessor::getBlock2(Index index) { #pragma warning(default:4716) juce::Array<MPENote> PluginProcessor::editorRequestsCurrentlyPlayingNotes() { // return currentlyPlayingNotes; + return juce::Array<juce::MPENote>(); } #pragma warning(default:4716) juce::Array<int> PluginProcessor::editorRequestsActiveColumns() { // return moduleManager.getActiveColumns(); + return juce::Array<int>(); } void PluginProcessor::editorRepositionedBlock(Index from, Index to) { @@ -657,7 +659,7 @@ std::pair<float, float> PluginProcessor::editorRequestsModulatorValue(Index modu // if (modulationInput) // return { modulationInput->source->getValue(0), modulationInput->connection->getMagnitude() }; - // return { 0.0f, 0.0f }; + return { 0.0f, 0.0f }; } #pragma warning(default:4716) @@ -669,7 +671,7 @@ std::pair<float, float> PluginProcessor::editorRequestsModulatorValue(int modula // if (auto modulationInput = currentVoice->getModulationInput(connection)) // return { modulationInput->source->getValue(0), modulationInput->connection->getMagnitude() }; - // return { 0.0f, 0.0f }; + return { 0.0f, 0.0f }; } #pragma warning(default:4716) @@ -801,4 +803,4 @@ void PluginProcessor::editorStartedAdjustingParameter(ID& id, std::string& param void PluginProcessor::editorAdjustedParameter(ID& id, std::string& parameter_name, float value) { synth_->getModuleManager().getModule(id)->getParameter(parameter_name)->set(value); -} \ No newline at end of file +}
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor