gearmulator

Emulation of classic VA synths of the late 90s/2000s that are based on Motorola 56300 family DSPs
Log | Files | Refs | Submodules | README | LICENSE

commit 4731c7585589dce6b8ecad490b62ddfc08df838a
parent 89449272c087ca0c007a1193588dbb2653a38893
Author: dsp56300 <dsp56300@users.noreply.github.com>
Date:   Sat, 14 May 2022 20:05:11 +0200

small reformatting

Diffstat:
Msource/jucePluginLib/parameterdescriptions.cpp | 24++++++++----------------
1 file changed, 8 insertions(+), 16 deletions(-)

diff --git a/source/jucePluginLib/parameterdescriptions.cpp b/source/jucePluginLib/parameterdescriptions.cpp @@ -389,22 +389,14 @@ namespace pluginLib byte.checksumLastIndex = last; byte.checksumInitValue = init; } - else if(type == "bank") - byte.type = MidiDataType::Bank; - else if(type == "program") - byte.type = MidiDataType::Program; - else if(type == "deviceid") - byte.type = MidiDataType::DeviceId; - else if(type == "page") - byte.type = MidiDataType::Page; - else if(type == "part") - byte.type = MidiDataType::Part; - else if(type == "paramindex") - byte.type = MidiDataType::ParameterIndex; - else if(type == "paramvalue") - byte.type = MidiDataType::ParameterValue; - else if(type == "null") - byte.type = MidiDataType::Null; + else if(type == "bank") byte.type = MidiDataType::Bank; + else if(type == "program") byte.type = MidiDataType::Program; + else if(type == "deviceid") byte.type = MidiDataType::DeviceId; + else if(type == "page") byte.type = MidiDataType::Page; + else if(type == "part") byte.type = MidiDataType::Part; + else if(type == "paramindex") byte.type = MidiDataType::ParameterIndex; + else if(type == "paramvalue") byte.type = MidiDataType::ParameterValue; + else if(type == "null") byte.type = MidiDataType::Null; else { _errors << "Unknown midi packet data type " << type << ", midi packet " << _key << ", index " << i << std::endl;