summaryrefslogtreecommitdiff
path: root/cras/src/dsp/drc_math.c
diff options
context:
space:
mode:
Diffstat (limited to 'cras/src/dsp/drc_math.c')
-rw-r--r--cras/src/dsp/drc_math.c14
1 files changed, 0 insertions, 14 deletions
diff --git a/cras/src/dsp/drc_math.c b/cras/src/dsp/drc_math.c
deleted file mode 100644
index 1ee5c81a..00000000
--- a/cras/src/dsp/drc_math.c
+++ /dev/null
@@ -1,14 +0,0 @@
-/* Copyright (c) 2013 The Chromium OS Authors. All rights reserved.
- * Use of this source code is governed by a BSD-style license that can be
- * found in the LICENSE file.
- */
-#include "drc_math.h"
-
-float db_to_linear[201]; /* from -100dB to 100dB */
-
-void drc_math_init()
-{
- int i;
- for (i = -100; i <= 100; i++)
- db_to_linear[i + 100] = pow(10, i / 20.0);
-}