Civilized code doesn't use global variables accessed via extern
This commit is contained in:
parent
f71f437d3e
commit
4f203de39a
@ -21,6 +21,8 @@
|
|||||||
#include <memory>
|
#include <memory>
|
||||||
#include "../JuceLibraryCode/JuceHeader.h"
|
#include "../JuceLibraryCode/JuceHeader.h"
|
||||||
|
|
||||||
|
const String g_plugintitle{ "PaulXStretch 1.2.2" };
|
||||||
|
|
||||||
using REALTYPE = float;
|
using REALTYPE = float;
|
||||||
|
|
||||||
using floatvector = std::vector<REALTYPE>;
|
using floatvector = std::vector<REALTYPE>;
|
||||||
|
@ -21,8 +21,6 @@ www.gnu.org/licenses
|
|||||||
#include <array>
|
#include <array>
|
||||||
#include "RenderSettingsComponent.h"
|
#include "RenderSettingsComponent.h"
|
||||||
|
|
||||||
extern String g_plugintitle;
|
|
||||||
|
|
||||||
//==============================================================================
|
//==============================================================================
|
||||||
PaulstretchpluginAudioProcessorEditor::PaulstretchpluginAudioProcessorEditor(PaulstretchpluginAudioProcessor& p)
|
PaulstretchpluginAudioProcessorEditor::PaulstretchpluginAudioProcessorEditor(PaulstretchpluginAudioProcessor& p)
|
||||||
: AudioProcessorEditor(&p),
|
: AudioProcessorEditor(&p),
|
||||||
|
@ -25,8 +25,6 @@ www.gnu.org/licenses
|
|||||||
#undef max
|
#undef max
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
String g_plugintitle{ "PaulXStretch 1.2.2" };
|
|
||||||
|
|
||||||
int get_optimized_updown(int n, bool up) {
|
int get_optimized_updown(int n, bool up) {
|
||||||
int orig_n = n;
|
int orig_n = n;
|
||||||
while (true) {
|
while (true) {
|
||||||
|
Loading…
Reference in New Issue
Block a user