search for: shortdata

Displaying 2 results from an estimated 2 matches for "shortdata".

2005 Apr 26
2
100% CPU usage
...acket > 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
....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 protection around h...