From 069c3de65f8c3bfcb0c488fbb8aa7ab11a3eba78 Mon Sep 17 00:00:00 2001
From: Jean-Marc Valin <jean-marc.valin@usherbrooke.ca>
Date: Tue, 4 Mar 2008 20:38:00 +1100
Subject: [PATCH] Removed deprecated mode interface and added missing include

---
 libcelt/bands.c | 4 ++--
 libcelt/celt.c  | 2 +-
 libcelt/celt.h  | 7 +------
 3 files changed, 4 insertions(+), 9 deletions(-)

diff --git a/libcelt/bands.c b/libcelt/bands.c
index 2fbbb43f1..cef207c99 100644
--- a/libcelt/bands.c
+++ b/libcelt/bands.c
@@ -1,4 +1,4 @@
-/* (C) 2007 Jean-Marc Valin, CSIRO
+/* (C) 2007-2008 Jean-Marc Valin, CSIRO
 */
 /*
    Redistribution and use in source and binary forms, with or without
@@ -38,7 +38,7 @@
 #include "modes.h"
 #include "vq.h"
 #include "cwrs.h"
-
+#include "os_support.h"
 
 void exp_rotation(celt_norm_t *X, int len, celt_word16_t theta, int dir, int stride, int iter)
 {
diff --git a/libcelt/celt.c b/libcelt/celt.c
index 00d418df3..b473e4c5b 100644
--- a/libcelt/celt.c
+++ b/libcelt/celt.c
@@ -1,4 +1,4 @@
-/* (C) 2007 Jean-Marc Valin, CSIRO
+/* (C) 2007-2008 Jean-Marc Valin, CSIRO
 */
 /*
    Redistribution and use in source and binary forms, with or without
diff --git a/libcelt/celt.h b/libcelt/celt.h
index f5e36ff39..24df26fd2 100644
--- a/libcelt/celt.h
+++ b/libcelt/celt.h
@@ -1,4 +1,4 @@
-/* (C) 2007 Jean-Marc Valin, CSIRO
+/* (C) 2007-2008 Jean-Marc Valin, CSIRO
 */
 /**
   @file celt.h
@@ -81,11 +81,6 @@ typedef struct CELTDecoder CELTDecoder;
     otherwise the quality will be very bad */
 typedef struct CELTMode CELTMode;
 
-/* To be removed soon */
-#define celt_mono celt_mode_create(44100, 1, 256, 128, NULL)
-#define celt_stereo celt_mode_create(44100, 2, 256, 128, NULL)
-
-
 
 /** \defgroup codec Encoding and decoding */
 /*  @{ */
-- 
GitLab