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/mdaDeEss.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/mdaDeEss.cpp')
-rw-r--r-- | src/mdaDeEss.cpp | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/src/mdaDeEss.cpp b/src/mdaDeEss.cpp index 6f394de..f3cbad1 100644 --- a/src/mdaDeEss.cpp +++ b/src/mdaDeEss.cpp @@ -47,7 +47,7 @@ bool mdaDeEss::getProductString(char* text) { strcpy(text, "MDA De-ess"); retur bool mdaDeEss::getVendorString(char* text) { strcpy(text, "mda"); return true; } bool mdaDeEss::getEffectName(char* name) { strcpy(name, "De-ess"); return true; } -void mdaDeEss::setParameter(LvzInt32 index, float value) +void mdaDeEss::setParameter(int32_t index, float value) { switch(index) { @@ -77,7 +77,7 @@ void mdaDeEss::getProgramName(char *name) strcpy(name, programName); } -float mdaDeEss::getParameter(LvzInt32 index) +float mdaDeEss::getParameter(int32_t index) { float v=0; @@ -90,7 +90,7 @@ float mdaDeEss::getParameter(LvzInt32 index) return v; } -void mdaDeEss::getParameterName(LvzInt32 index, char *label) +void mdaDeEss::getParameterName(int32_t index, char *label) { switch(index) { @@ -103,7 +103,7 @@ void mdaDeEss::getParameterName(LvzInt32 index, char *label) #include <stdio.h> void long2string(long value, char *string) { sprintf(string, "%ld", value); } -void mdaDeEss::getParameterDisplay(LvzInt32 index, char *text) +void mdaDeEss::getParameterDisplay(int32_t index, char *text) { switch(index) { @@ -113,7 +113,7 @@ void mdaDeEss::getParameterDisplay(LvzInt32 index, char *text) } } -void mdaDeEss::getParameterLabel(LvzInt32 index, char *label) +void mdaDeEss::getParameterLabel(int32_t index, char *label) { switch(index) { @@ -126,7 +126,7 @@ void mdaDeEss::getParameterLabel(LvzInt32 index, char *label) //-------------------------------------------------------------------------------- // process -void mdaDeEss::process(float **inputs, float **outputs, LvzInt32 sampleFrames) +void mdaDeEss::process(float **inputs, float **outputs, int32_t sampleFrames) { float *in1 = inputs[0]; float *in2 = inputs[1]; @@ -165,7 +165,7 @@ void mdaDeEss::process(float **inputs, float **outputs, LvzInt32 sampleFrames) if(fabs(en)<1.0e-10) env=0.f; else env=en; } -void mdaDeEss::processReplacing(float **inputs, float **outputs, LvzInt32 sampleFrames) +void mdaDeEss::processReplacing(float **inputs, float **outputs, int32_t sampleFrames) { float *in1 = inputs[0]; float *in2 = inputs[1]; |