[Speex-dev] High CPU usage

Jozsef Vass jozsef_vass at yahoo.com
Fri Sep 25 14:42:53 PDT 2009


I have run into the same issue. Before sending a frame to encoder, I calculate the energy. If it is less than a small threshold, I simply replace this frame with "silence frame," which is 320 random samples of values smaller than 3 (16 kHz).

BTW, I have only experience this problem with certain USB headsets that provide you all 0 samples when muted.

Jozsef



      


More information about the Speex-dev mailing list