# HG changeset patch # User Ryan C. Gordon # Date 1063485969 0 # Node ID 6bd7ca7d218be064817b4966377eddcd42aeeda6 # Parent b9856ba6fb4e52eaa6a9fdeafbae5bb8ed3f30a6 Took out a C++-style comment. diff -r b9856ba6fb4e -r 6bd7ca7d218b decoders/speex.c --- 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);