<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2800.1458" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2>I suspect I am missing something basic but I do not
seem to be able to get the sampleenc and sampledec programs to work
together. I suspect the decode operation is failing, but I cannot find out
why.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Backgound information:</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>1) 1.0.4 tar package 'make' worked
and installed on a mandrake 10.0 linux</FONT></DIV>
<DIV><FONT face=Arial size=2>2) speexenc and speexdec appear to work
fine.</FONT></DIV>
<DIV><FONT face=Arial size=2>3) testenc and testenc_wb work fine, though I
notice that compile with gcc testenc.c -lspeex produces a different .bits file
than the version made with make. This makes me think there is a flag I am
missing.</FONT></DIV>
<DIV><FONT face=Arial size=2>4) test_wb output 16-bit PCM file seems about 1K
shorter than the original PCM file. Not sure if this is
relevant.</FONT></DIV>
<DIV><FONT face=Arial size=2>5) SPEEX_GET_QUALITY does not appear to work for
the decoder though documentation lists no limitation.</FONT></DIV>
<DIV><FONT face=Arial size=2>6) SPEEX_GET_SAMPLING_RATE does not work well for
the encoder in wideband mode</FONT></DIV>
<DIV><FONT face=Arial size=2>7) The first bit is documented as the 'Wideband'
bit, but in the packets I have looked at, this never seems to get set in
testenc_wb</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>The sampledec failure occurs after speex_decode()
where the float values are generally either 0 or out of range.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Any suggestions would be appreciated.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Kirby</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV></BODY></HTML>