ref: 069c3de65f8c3bfcb0c488fbb8aa7ab11a3eba78
parent: 7137c26e4fce297c42a1f0baf9717d7b04f44673
author: Jean-Marc Valin <[email protected]>
date: Tue Mar 4 15:38:00 EST 2008
Removed deprecated mode interface and added missing include
--- 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)
{
--- 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
--- 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
@@ -80,11 +80,6 @@
the encoder and decoder need to be initialised with exactly the same mode,
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 */