[Speex-dev] 21bytes vs 38 bytes
Jean-Marc Valin
jean-marc.valin at usherbrooke.ca
Wed Jun 13 07:27:47 PDT 2007
You you confusing kHz and kbps by any chance?
Jean-Marc
Yusuf Bey a écrit :
> Hi, I am developing a voip phone that uses speex v1.2b1 narrowband mode.
> Libspeex decodes the 21-byte packets I recieve into 160 bytes and I can
> play
> them fine, but when I encode, the result is 38-bytes long.
>
> I have read that 38 bytes means that it is encoding at 15KHz, but I have
> set
> it to nb-mode and when stepping through the libspeex encoding sourcecode, I
> see that st->sampling_rate is 8000.
>
> Any idea why I speex-compress 160 bytes to 38 and not 21? Thanks in
> advance.
>
>
> y
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> Speex-dev mailing list
> Speex-dev at xiph.org
> http://lists.xiph.org/mailman/listinfo/speex-dev
More information about the Speex-dev
mailing list