Windows doesn't like uint; Cleanup whitespace

Signed-off-by: falkTX <falktx@falktx.com>
This commit is contained in:
falkTX 2021-10-28 11:47:27 +01:00
parent 14994c92ef
commit e4017044a3
No known key found for this signature in database
GPG key ID: CDBAA37ABC74FBA0

View file

@ -20,23 +20,23 @@
#define SAMPLES_PER_DRAW 256 #define SAMPLES_PER_DRAW 256
struct glBarsModule : Module { struct glBarsModule : Module {
enum ParamIds { enum ParamIds {
NUM_PARAMS NUM_PARAMS
}; };
enum InputIds { enum InputIds {
IN1_INPUT, IN1_INPUT,
NUM_INPUTS NUM_INPUTS
}; };
enum OutputIds { enum OutputIds {
NUM_OUTPUTS NUM_OUTPUTS
}; };
enum LightIds { enum LightIds {
NUM_LIGHTS NUM_LIGHTS
}; };
glBarsState state; glBarsState state;
float audioData[SAMPLES_PER_DRAW]; float audioData[SAMPLES_PER_DRAW];
uint audioDataFill = 0; unsigned audioDataFill = 0;
glBarsModule() { glBarsModule() {
config(NUM_PARAMS, NUM_INPUTS, NUM_OUTPUTS, NUM_LIGHTS); config(NUM_PARAMS, NUM_INPUTS, NUM_OUTPUTS, NUM_LIGHTS);