[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: New: audio/speex



On Wed, 14 May 2003 10:54:09 +0200
Christian Weisgerber <naddy@openbsd.org> wrote:

> Han Boetes:
> 
> > ===>  Patching for speex-1.0
> > 1 out of 6 hunks failed--saving rejects to src/speexdec.c.rej
> > ***>   patch-src_speexdec_c did not apply cleanly
> 
> Fine on my end.

>From patch-src_speexdec_c:
@@ -611,8 +649,13 @@ int main(int argc, char **argv)
                         output[i]=-32000.0;
                   }
                   /*Convert to short and save to output file*/
-                  for (i=0;i<DEFANGED_frame_size*channels;i++)
+                  if (wav_format) {

Relevant lines in src/speexdec.c:
                        output[i]=-32000.0;
                  }
                  /*Convert to short and save to output file*/
                  for (i=0;i<DEFANGED_frame_size*channels;i++)


-- 
Björn Sandell       DCE/DFS Sysadmin       IT department
Chalmers University of Technology    www.dce.chalmers.se