diff options
author | David Robillard <d@drobilla.net> | 2012-03-28 04:51:46 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2012-03-28 04:51:46 +0000 |
commit | 42cb454c24e2772696c281860e333becffc2e2ca (patch) | |
tree | 06fdd0f78a29a4cc0d10c08d12d2ef9636e16ba1 /src/mdaBandisto.cpp | |
parent | e878fbbae2d686d86848b5353747fd9e359cb2d0 (diff) | |
download | mda.lv2-42cb454c24e2772696c281860e333becffc2e2ca.tar.gz mda.lv2-42cb454c24e2772696c281860e333becffc2e2ca.tar.bz2 mda.lv2-42cb454c24e2772696c281860e333becffc2e2ca.zip |
Remove pointless int32 typedef.
git-svn-id: http://svn.drobilla.net/lad/trunk/plugins/mda.lv2@4127 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/mdaBandisto.cpp')
-rw-r--r-- | src/mdaBandisto.cpp | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/src/mdaBandisto.cpp b/src/mdaBandisto.cpp index 1ac2ff2..64d893c 100644 --- a/src/mdaBandisto.cpp +++ b/src/mdaBandisto.cpp @@ -101,7 +101,7 @@ void mdaBandisto::getProgramName(char *name) strcpy(name, programName); } -bool mdaBandisto::getProgramNameIndexed (LvzInt32 category, LvzInt32 index, char* name) +bool mdaBandisto::getProgramNameIndexed (int32_t category, int32_t index, char* name) { if (index == 0) { @@ -111,7 +111,7 @@ bool mdaBandisto::getProgramNameIndexed (LvzInt32 category, LvzInt32 index, char return false; } -void mdaBandisto::setParameter(LvzInt32 index, float value) +void mdaBandisto::setParameter(int32_t index, float value) { switch(index) { @@ -159,7 +159,7 @@ void mdaBandisto::setParameter(LvzInt32 index, float value) fi2 = (float)pow(10.0,fParam3 - 1.05); fo2=(float)(1.0 - fi2); } -float mdaBandisto::getParameter(LvzInt32 index) +float mdaBandisto::getParameter(int32_t index) { float v=0; @@ -179,7 +179,7 @@ float mdaBandisto::getParameter(LvzInt32 index) return v; } -void mdaBandisto::getParameterName(LvzInt32 index, char *label) +void mdaBandisto::getParameterName(int32_t index, char *label) { switch(index) { @@ -196,7 +196,7 @@ void mdaBandisto::getParameterName(LvzInt32 index, char *label) } } -void mdaBandisto::getParameterDisplay(LvzInt32 index, char *text) +void mdaBandisto::getParameterDisplay(int32_t index, char *text) { switch(index) { @@ -218,7 +218,7 @@ void mdaBandisto::getParameterDisplay(LvzInt32 index, char *text) } } -void mdaBandisto::getParameterLabel(LvzInt32 index, char *label) +void mdaBandisto::getParameterLabel(int32_t index, char *label) { switch(index) { @@ -238,7 +238,7 @@ void mdaBandisto::getParameterLabel(LvzInt32 index, char *label) //-------------------------------------------------------------------------------- // process -void mdaBandisto::process(float **inputs, float **outputs, LvzInt32 sampleFrames) +void mdaBandisto::process(float **inputs, float **outputs, int32_t sampleFrames) { float *in1 = inputs[0]; float *in2 = inputs[1]; @@ -293,7 +293,7 @@ void mdaBandisto::process(float **inputs, float **outputs, LvzInt32 sampleFrames fb1=b1; fb2=b2, fb3=l; } -void mdaBandisto::processReplacing(float **inputs, float **outputs, LvzInt32 sampleFrames) +void mdaBandisto::processReplacing(float **inputs, float **outputs, int32_t sampleFrames) { float *in1 = inputs[0]; float *in2 = inputs[1]; |