search for: bits_per_frame

Displaying 3 results from an estimated 3 matches for "bits_per_frame".

2004 Aug 06
2
Where to pause stream (minimum decodable length)?
Here is my situation: I have large Speex encoded stream which I would like to playback on wave out device. I could decode whole stream to pcm and play it back as pcm audio, but this is not what I want. Instead I want to decode minimum decodable bits (bytes?) to pcm and play it ... then decode another minimum data chunk and play it, etc. This way I can achieve closest to real-time playback or
2008 Jan 25
2
How to get size of WB frame in bits/bytes?
Hi, Is there any way to determine frame size in bits or bytes of encoded frame in WB mode for given quality? That is I need to know how many bits encoded frame will occupy in RTP packet. I see SPEEX_SUBMODE_BITS_PER_FRAME request, but it works like this only for NB mode, and for WB mode it return size of WB "subframe" (?) only. -- Regards, Alexander Chemeris. SIPez LLC. SIP VoIP, IM and Presence Consulting http://www.SIPez.com tel: +1 (617) 273-4000
2005 May 25
3
Speex on TI C6x, Problem with TI C5x Patch
...ack_unsigned(bits, 1); if (wideband) /* Skip wideband block (for compatibility) */ { int submode; int advance; advance = submode = speex_bits_unpack_unsigned(bits, SB_SUBMODE_BITS); speex_mode_query(&speex_wb_mode, SPEEX_SUBMODE_BITS_PER_FRAME, &advance); if (advance < 0) { speex_warning ("Invalid wideband mode encountered. Corrupted stream?"); return -2; } advance -= (SB_SUBMODE_BITS+1); speex_bits_advance(bits, advance);...