changeset 454:6bd7ca7d218b

Took out a C++-style comment.
author Ryan C. Gordon <icculus@icculus.org>
date Sat, 13 Sep 2003 20:46:09 +0000
parents b9856ba6fb4e
children cbc2a4ffeeec
files decoders/speex.c
diffstat 1 files changed, 2 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/decoders/speex.c	Sat Sep 13 20:35:24 2003 +0000
+++ b/decoders/speex.c	Sat Sep 13 20:46:09 2003 +0000
@@ -320,14 +320,13 @@
 
     for (max = dst + maxoutput; dst < max; dst++, src++)
     {
+        /* !!! FIXME: This screams for vectorization. */
         register float f = *src;
         if (f > 32000.0f)  /* eh, speexdec.c clamps like this, too. */
             f = 32000.0f;
         else if (f < -32000.0f)
             f = -32000.0f;
-        *dst = //(Sint16) round(f);
-               // (Sint16) floor(.5f+f);
-               (Sint16) 0.5f+f;
+        *dst = (Sint16) (0.5f + f);
     } /* for */
     
     return(cpypos << 1);