commit 986b0c7d5e6aa25d339b83dd04ef656ec478e5eb
parent 59a2d201641f483153fa03041a28e7d2569bc22a
Author: jatinchowdhury18 <jatinchowdhury18@gmail.com>
Date: Sun, 23 Aug 2020 21:39:47 -0700
Prepare release version 2.5.0 (#75)
* Check for invalid index in getPresetName()
* Update Mac builds
* Update Windows builds
Co-authored-by: jatinchowdhury18 <jatinchowdhury18@users.noreply.github.com>
Co-authored-by: Travis CI <travis@Traviss-Mac-6.local>
Diffstat:
4 files changed, 11 insertions(+), 3 deletions(-)
diff --git a/.gitignore b/.gitignore
@@ -27,4 +27,7 @@ LV2.mak
#Visual Studio Code files
.vscode/
+
+# Other files I don't want
*.asd
+*.mp4
diff --git a/CHANGELOG.md b/CHANGELOG.md
@@ -2,7 +2,7 @@
All notable changes to this project will be documented in
this file.
-## [UNRELEASED]
+## [2.5.0] - 2020-08-23
- Updated delay lines in wow/flutter processing to use 3-point
Lagrange interpolation.
- Change Newton-Raphson solver to use 4 or 8 iterations, in unrolled loop.
diff --git a/Plugin/CHOWTapeModel.jucer b/Plugin/CHOWTapeModel.jucer
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
-<JUCERPROJECT id="jDoXPz" name="CHOWTapeModel" projectType="audioplug" version="2.4.0"
+<JUCERPROJECT id="jDoXPz" name="CHOWTapeModel" projectType="audioplug" version="2.5.0"
pluginFormats="buildAU,buildStandalone,buildVST,buildVST3" cppLanguageStandard="17"
companyName="chowdsp" companyEmail="chowdsp@gmail.com" defines="SAVE_PRESETS=0"
pluginManufacturerCode="Chow" reportAppUsage="0" jucerFormatVersion="1">
diff --git a/Plugin/Source/Presets/PresetManager.cpp b/Plugin/Source/Presets/PresetManager.cpp
@@ -69,7 +69,12 @@ void PresetManager::loadPresets()
String PresetManager::getPresetName (int idx)
{
- jassert (isPositiveAndBelow (idx, presets.size()));
+ if (! isPositiveAndBelow (idx, presets.size())) // invalid index
+ {
+ jassertfalse;
+ return {};
+ }
+
return presetMap[idx]->name;
}