From f5603cba2359767a1c4be2713a9acd031e021d02 Mon Sep 17 00:00:00 2001 From: wm4 Date: Wed, 1 Apr 2015 21:39:40 +0200 Subject: af: remove unused functions --- audio/filter/tools.c | 32 -------------------------------- 1 file changed, 32 deletions(-) (limited to 'audio/filter/tools.c') diff --git a/audio/filter/tools.c b/audio/filter/tools.c index 231477927f..8943f29f8b 100644 --- a/audio/filter/tools.c +++ b/audio/filter/tools.c @@ -40,24 +40,6 @@ int af_from_dB(int n, float* in, float* out, float k, float mi, float ma) return AF_OK; } -/* Convert from gain value to dB. Returns AF_OK if of and AF_ERROR if - * fail. gain=0 will become -200 dB. k is just a multiplier. */ -int af_to_dB(int n, float* in, float* out, float k) -{ - int i = 0; - // Sanity check - if(!in || !out) - return AF_ERROR; - - for(i=0;i