From fc0c4c617538d6fa33808f3acacd9897046bd3d0 Mon Sep 17 00:00:00 2001 From: George Marques Date: Fri, 27 Nov 2015 19:29:48 -0200 Subject: Remove Opus extra includes Remove the extra directories to include that were needed by the Opus library. Now the lib includes more specific paths to avoid those. --- drivers/opus/silk/gain_quant.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'drivers/opus/silk/gain_quant.c') diff --git a/drivers/opus/silk/gain_quant.c b/drivers/opus/silk/gain_quant.c index e9467198eb..9ff513423f 100644 --- a/drivers/opus/silk/gain_quant.c +++ b/drivers/opus/silk/gain_quant.c @@ -26,10 +26,10 @@ POSSIBILITY OF SUCH DAMAGE. ***********************************************************************/ #ifdef OPUS_HAVE_CONFIG_H -#include "opus_config.h" +#include "opus/opus_config.h" #endif -#include "silk_main.h" +#include "opus/silk/silk_main.h" #define OFFSET ( ( MIN_QGAIN_DB * 128 ) / 6 + 16 * 128 ) #define SCALE_Q16 ( ( 65536 * ( N_LEVELS_QGAIN - 1 ) ) / ( ( ( MAX_QGAIN_DB - MIN_QGAIN_DB ) * 128 ) / 6 ) ) -- cgit v1.2.3 From 4057907cf43a7ed53b94448c8d26d56a637efb92 Mon Sep 17 00:00:00 2001 From: George Marques Date: Fri, 27 Nov 2015 19:37:36 -0200 Subject: Remove redundant Opus directive definition Clean up the build command line another extra bit. --- drivers/opus/silk/gain_quant.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'drivers/opus/silk/gain_quant.c') diff --git a/drivers/opus/silk/gain_quant.c b/drivers/opus/silk/gain_quant.c index 9ff513423f..e1d9b91126 100644 --- a/drivers/opus/silk/gain_quant.c +++ b/drivers/opus/silk/gain_quant.c @@ -25,7 +25,7 @@ ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. ***********************************************************************/ -#ifdef OPUS_HAVE_CONFIG_H +#ifdef OPUS_ENABLED #include "opus/opus_config.h" #endif -- cgit v1.2.3