Displaying 2 results from an estimated 2 matches for "21bytes".
Did you mean:
12bytes
2007 Jun 13
1
21bytes vs 38 bytes
Hello, thank you for responding. I'm sure I'm confusing something, but I did
not explicitly set either kHz or kbps, I just set the mode to narrowband,
and traced through libspeex's code to see that sample_rate was 8000
something, I'm guessing Hz. My assumption was: if you set PA to nb-mode,
then you should encode 160 bytes to 21. Is that mistaken?
ys
On 6/13/07, Jean-Marc Valin
2007 Jun 12
2
21bytes vs 38 bytes
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