summaryrefslogtreecommitdiff
path: root/src/mdaPianoCommon.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mdaPianoCommon.h')
-rw-r--r--src/mdaPianoCommon.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mdaPianoCommon.h b/src/mdaPianoCommon.h
index 061a94e..739a8ea 100644
--- a/src/mdaPianoCommon.h
+++ b/src/mdaPianoCommon.h
@@ -29,12 +29,12 @@ typedef struct
short* buffer; //pointer to sample data
} Sample;
-static float scale_midi_to_f(unsigned char data)
+inline float scale_midi_to_f(unsigned char data)
{
return 0.0078f * (float)(data);
}
-static unsigned char p_offset(unsigned char i)
+inline unsigned char p_offset(unsigned char i)
{
return (i - PARAM_OFFSET);
}