]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
fix duplicate definition of ms_to_samples (update to spandsp-20091223 snapshot)
authorMichael Jerris <mike@jerris.com>
Wed, 23 Dec 2009 16:54:20 +0000 (16:54 +0000)
committerMichael Jerris <mike@jerris.com>
Wed, 23 Dec 2009 16:54:20 +0000 (16:54 +0000)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@16042 d0543943-73ff-0310-b7d9-9358b9ac24b2

libs/spandsp/.update
libs/spandsp/src/at_interpreter.c
libs/spandsp/src/bell_r2_mf.c
libs/spandsp/src/plc.c
libs/spandsp/src/spandsp/version.h
libs/spandsp/src/t30.c
libs/spandsp/src/tone_generate.c
libs/spandsp/src/v8.c

index a0d1e51d4e66284befba9f72c785d5aa05936a91..bb8245bb5626931002bb4ac02c10db66f42c315e 100644 (file)
@@ -1 +1 @@
-Tue Dec 22 20:40:14 EST 2009
+Wed Dec 23 11:53:35 EST 2009
index 07486746da278efe0476cc72e599864d1f6d56d5..f34d87598100b1c0beac4fcace1f451336a8133f 100644 (file)
@@ -25,7 +25,7 @@
  * License along with this program; if not, write to the Free Software
  * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
  *
- * $Id: at_interpreter.c,v 1.42 2009/10/09 14:53:56 steveu Exp $
+ * $Id: at_interpreter.c,v 1.42.4.1 2009/12/23 14:18:32 steveu Exp $
  */
 
 /*! \file */
@@ -64,8 +64,6 @@
 #include "spandsp/private/logging.h"
 #include "spandsp/private/at_interpreter.h"
 
-#define ms_to_samples(t)        (((t)*SAMPLE_RATE)/1000)
-
 #define MANUFACTURER            "www.soft-switch.org"
 #define SERIAL_NUMBER           "42"
 #define GLOBAL_OBJECT_IDENTITY  "42"
index 96e1382f8e19b9702fc9e69d4c0652a2d3ee9eb9..a2b2dc2ebebe654124c4adbb499a4b6d82cb4509 100644 (file)
@@ -22,7 +22,7 @@
  * License along with this program; if not, write to the Free Software
  * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
  *
- * $Id: bell_r2_mf.c,v 1.39 2009/04/11 18:11:19 steveu Exp $
+ * $Id: bell_r2_mf.c,v 1.39.4.1 2009/12/23 14:23:48 steveu Exp $
  */
 
 /*! \file */
@@ -65,8 +65,6 @@
 #define M_PI 3.14159265358979323846264338327
 #endif
 
-#define ms_to_samples(t)            (((t)*SAMPLE_RATE)/1000)
-
 /*!
     MF tone descriptor.
 */
index c7e1d0bb985bc6b2c31359519d66a4ef790be2a2..56f3a72fa0f6d1d42b3e21ef2875e4cba6e02cb8 100644 (file)
@@ -22,7 +22,7 @@
  * License along with this program; if not, write to the Free Software
  * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
  *
- * $Id: plc.c,v 1.27 2009/02/10 13:06:46 steveu Exp $
+ * $Id: plc.c,v 1.27.4.1 2009/12/23 14:23:49 steveu Exp $
  */
 
 /*! \file */
@@ -52,8 +52,6 @@
 /* We do a straight line fade to zero volume in 50ms when we are filling in for missing data. */
 #define ATTENUATION_INCREMENT       0.0025f     /* Attenuation per sample */
 
-#define ms_to_samples(t)            (((t)*SAMPLE_RATE)/1000)
-
 static void save_history(plc_state_t *s, int16_t *buf, int len)
 {
     if (len >= PLC_HISTORY_LEN)
index 99a624ea40ecf18f25103a071a562cde9ebfdfd2..bc49e069d10ea713a1d292b89e9847cbd0a81e46 100644 (file)
@@ -30,9 +30,9 @@
 
 /* The date and time of the version are in UTC form. */
 
-#define SPANDSP_RELEASE_DATE            20091221
-#define SPANDSP_RELEASE_TIME            183911
-#define SPANDSP_RELEASE_DATETIME_STRING "20091221 183911"
+#define SPANDSP_RELEASE_DATE            20091223
+#define SPANDSP_RELEASE_TIME            143600
+#define SPANDSP_RELEASE_DATETIME_STRING "20091223 143600"
 
 #endif
 /*- End of file ------------------------------------------------------------*/
index 2be56998344cbcc85d85aacdbe9762047ea3333e..b89c2e6485ba1df38560c766ce10e9b6b95a7217 100644 (file)
@@ -22,7 +22,7 @@
  * License along with this program; if not, write to the Free Software
  * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
  *
- * $Id: t30.c,v 1.305.4.3 2009/12/19 14:18:12 steveu Exp $
+ * $Id: t30.c,v 1.305.4.4 2009/12/23 14:23:49 steveu Exp $
  */
 
 /*! \file */
@@ -84,9 +84,6 @@
     terminal could keep you retrying all day. Its a backstop protection. */
 #define MAX_RESPONSE_TRIES  6
 
-/*! Conversion between milliseconds and audio samples. */
-#define ms_to_samples(t)    (((t)*SAMPLE_RATE)/1000)
-
 /* T.30 defines the following call phases:
    Phase A: Call set-up.
        Exchange of CNG, CED and the called terminal identification.
index 766f2d34bfc2643c1e0019f965666902fe130401..6ea3077186e1648b2a0ee199924073734742e1e7 100644 (file)
@@ -22,7 +22,7 @@
  * License along with this program; if not, write to the Free Software
  * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
  *
- * $Id: tone_generate.c,v 1.53 2009/06/02 16:03:56 steveu Exp $
+ * $Id: tone_generate.c,v 1.53.4.1 2009/12/23 14:23:49 steveu Exp $
  */
 
 /*! \file */
@@ -59,8 +59,6 @@
 #define M_PI 3.14159265358979323846264338327
 #endif
 
-#define ms_to_samples(t)            (((t)*SAMPLE_RATE)/1000)
-
 SPAN_DECLARE(void) make_tone_gen_descriptor(tone_gen_descriptor_t *s,
                                             int f1,
                                             int l1,
index 4cc9b597fed1d238c6974bf5e640f3ed93a05dd5..7aad5af4c91b9cd016c6fed3734c37ea50b07c1a 100644 (file)
@@ -22,7 +22,7 @@
  * License along with this program; if not, write to the Free Software
  * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
  *
- * $Id: v8.c,v 1.42 2009/11/04 16:10:14 steveu Exp $
+ * $Id: v8.c,v 1.42.4.1 2009/12/23 14:23:49 steveu Exp $
  */
  
 /*! \file */
@@ -63,8 +63,6 @@
 #include "spandsp/private/modem_connect_tones.h"
 #include "spandsp/private/v8.h"
 
-#define ms_to_samples(t)    (((t)*SAMPLE_RATE)/1000)
-
 enum
 {
     V8_WAIT_1S,