Commit 586134ab authored by smorlat's avatar smorlat

fix static gain of the equalizer in floating point.

git-svn-id: svn+ssh://svn.savannah.nongnu.org/linphone/trunk@541 3f6dc0c8-ddfe-455d-9043-3cd528dc4637
parent 582239a8
......@@ -22,12 +22,11 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
#include <math.h>
#define ABS_GAIN_ZERODB 22000
#ifdef MS_FIXED_POINT
#define GAIN_ZERODB ABS_GAIN_ZERODB
#define GAIN_ZERODB 20000
#else
#define GAIN_ZERODB (((float)ABS_GAIN_ZERODB)/32767.0)
#define GAIN_ZERODB 1.0
#endif
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment