From 813310071f70976c2467c92856521927665d0c90 Mon Sep 17 00:00:00 2001 From: mattf Date: Thu, 3 Feb 2005 02:44:38 +0000 Subject: inline would be better git-svn-id: http://svn.digium.com/svn/zaptel/trunk@578 5390a7c7-147a-4af0-8ec9-7488f05a26cb --- fxotune.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'fxotune.c') 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); } -- cgit v1.2.3