summaryrefslogtreecommitdiff
path: root/fxotune.c
diff options
context:
space:
mode:
authormattf <mattf@5390a7c7-147a-4af0-8ec9-7488f05a26cb>2005-02-03 02:44:38 +0000
committermattf <mattf@5390a7c7-147a-4af0-8ec9-7488f05a26cb>2005-02-03 02:44:38 +0000
commit813310071f70976c2467c92856521927665d0c90 (patch)
tree65274bb71fd978113adcc2e2e3bf8f82f98b9765 /fxotune.c
parent7048b429d602e171634a418e2a367edae9efb74a (diff)
inline would be better
git-svn-id: http://svn.digium.com/svn/zaptel/trunk@578 5390a7c7-147a-4af0-8ec9-7488f05a26cb
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);
}