search for: speex_bit_read_from

Displaying 5 results from an estimated 5 matches for "speex_bit_read_from".

Did you mean: speex_bits_read_from
2005 Jun 06
1
SpeexBits Questions
Thanks, it makes more sense to me now. Does speex_bit_read_from also append in that manner? Jean-Marc Valin wrote: > speex_bits_reset is before encoding, not decoding. If you don't call it, > then everything you encode will be appended so it will grow without end. > As for the point of the SpeexBits struct, it's there as a sort of "arra...
2010 Apr 15
2
Decoded output buffer size
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Il 15/04/2010 01:30, Conrad Parker wrote: > >> But how can I know the size of each speex frame into a multiframe payload? > > use speex_bit_read_from() just once on the packet, then call > speex_decode() once for each frame. > > Conrad. Thanks for the reply, Conrad. What is not clear for me (and I didn't found it on the manual) is how to decode a multi-frame payload. Once have called speex_bits_read_from, I need a way to know how...
2010 Apr 14
3
Decoded output buffer size
Il 14/04/2010 14:37, Randy Yates wrote: > > Usually a buffer is one frame of data, and a frame is 20 milliseconds. > Since the sample rate is typically 8 kHz in narrowband mode, this > corresponds to a buffer size of 160 samples. Hi Randy, thanks for the reply. So, suppose I encode an audio buffer (8000 kHz, MONO, float) of 640 PCM frames. In output I have 4 speex frame of 20 byte
2010 Apr 14
0
Decoded output buffer size
...spx_frame_size_; > ?} > > ?..nbBytes is 80 bytes.. > } > > > Now I send this packet over the network and, into the receiving side, I > need to recreate the original PCM buffer (640 frames). > But how can I know the size of each speex frame into a multiframe payload? use speex_bit_read_from() just once on the packet, then call speex_decode() once for each frame. Conrad.
2010 Apr 15
0
Decoded output buffer size
...7:55, Daniele Barzotti <daniele.barzotti at eurocomtel.com> wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > Il 15/04/2010 01:30, Conrad Parker wrote: >> >>> But how can I know the size of each speex frame into a multiframe payload? >> >> use speex_bit_read_from() just once on the packet, then call >> speex_decode() once for each frame. >> >> Conrad. > > Thanks for the reply, Conrad. > What is not clear for me (and I didn't found it on the manual) is how to > decode a multi-frame payload. > Once have called speex_bits_r...