silence warning

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@6312 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
Michael Jerris 2007-11-16 20:18:01 +00:00
parent c23d205aee
commit f3b2b20c5b
1 changed files with 3 additions and 0 deletions

View File

@ -129,6 +129,9 @@ void teletone_goertzel_update(teletone_goertzel_state_t *goertzel_state,
goertzel_state->v3 = (float)(goertzel_state->fac*goertzel_state->v2 - v1 + sample_buffer[i]);
}
}
#ifdef _MSC_VER
#pragma warning(disable:4244)
#endif
#define teletone_goertzel_result(gs) (double)(((gs)->v3 * (gs)->v3 + (gs)->v2 * (gs)->v2 - (gs)->v2 * (gs)->v3 * (gs)->fac))