summaryrefslogtreecommitdiff
path: root/fxotune.c
diff options
context:
space:
mode:
Diffstat (limited to 'fxotune.c')
-rwxr-xr-xfxotune.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fxotune.c b/fxotune.c
index 1f04df5..8d9e979 100755
--- a/fxotune.c
+++ b/fxotune.c
@@ -66,7 +66,7 @@ int process_readbuf(short *ibuf)
* to begenerated. For a normal waveform you need to increment
* this every time you execute the function.
* Returns a 16bit slinear sample. */
-short gentone(int hz, int index)
+short inline gentone(int hz, int index)
{
return sinf(index * 2 * PI * hz/8000);
}