search for: decoder_st

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

Did you mean: decoder_t
2005 Apr 26
2
100% CPU usage
...t the fact that the packet > loss concealment > hasn't been completely converted to fixed-point. I am using intel x86 CPU. The high CPU utilization go away after I put the following code protection code: // when no packet arrived do the following... if(!m_IsZeroData) { speex_decode_int(decoder_state, NULL, shortData); //check if shortData[] array is zero bytes. m_IsZeroData = IsZeroData(shortData); } m_IsZeroData will be set to false when new voice packet arrive. It seems to me that speex_decode_int() can not be execute too many times after shortData[] become zero. Regards, YueWeng __...
2005 Apr 26
1
100% CPU usage
...l, I am using speex 1.17 at this moment, everything works great. However, I face a problem when no packet arrived from network for a few second, my CPU usage is 100%. I step though my code and seems that (not confirmed) the speaker callback WaveOutCallback() function which call speex_decode_int(decoder_state, NULL, shortData) (when no data arrived for PLC purpose) seems to consume a lot of CPU slice. Is this normal or I am making a mistake other portion of the program. Regards, YueWeng __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam...
2004 Aug 06
0
reommended settings for low bitrate voicecom codec ?
...> for 5, 10, 15 and 20 KBit narrowband AVB speex (used in a voicecom that > shouldnt take too many cpu cylces of the game). First, in the decoder make sure that you turn perceptual enhancement *on* (it is off by default when using the libspeex API). To do that: int tmp=1; speex_decoder_ctl(decoder_state, SPEEX_SET_ENH, &tmp); For the rest, all you need to do is decide whether you want constant bit-rate or variable bit-rate and whether you want discontinuous transmission (DTX). You might also want to play with the "complexity" value, but the default is usually OK. Jean-Ma...
2006 Aug 01
0
new to speex's!
...) ); int number_of_frames = data_in_length/FRAME_SIZE; int offset for( int i = 0; i< number_of_frames; i++ ) { // read the bits into the byte stream struct. speex_bits_read_from( bits , input_bits, FRAME_SIZE ); // decode the data. speex_decode( decoder_state, bits , out_put); for( int i = 0; i < data_in_length; i++ ) { output[i+offset] = out_put[i]; } offset+=FRAME_SIZE; } /// change the floats to shorts so it can be used by the sound out put. speex_bits_reset( bits ); } my main l...
2004 Aug 06
5
reommended settings for low bitrate voicecom codec ?
Hello, the voice-communication TeamSpeak (www.teamspeak.org) is currently testing a version that supports speex codecs. The quality for high bitrates is quite good. BUT, the low-bandwidth speex codecs that are currently used arent very good. What I did to find this out: I comprared a speex AVB with 6.3 KBit/sec (total, overhead for packets and stuff included) and the 6.3 Kbit/sec Celp Codec