diff options
author | mattf <mattf@5390a7c7-147a-4af0-8ec9-7488f05a26cb> | 2005-02-03 02:44:38 +0000 |
---|---|---|
committer | mattf <mattf@5390a7c7-147a-4af0-8ec9-7488f05a26cb> | 2005-02-03 02:44:38 +0000 |
commit | 813310071f70976c2467c92856521927665d0c90 (patch) | |
tree | 65274bb71fd978113adcc2e2e3bf8f82f98b9765 /fxotune.c | |
parent | 7048b429d602e171634a418e2a367edae9efb74a (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-x | fxotune.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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); } |