Commit 586134ab authored by smorlat's avatar smorlat
Browse files

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
No related merge requests found
Showing with 2 additions and 3 deletions
......@@ -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
......
Supports Markdown
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