[Speex-dev] High CPU usage

Mark Palkow palkow at daviko.com
Wed Sep 30 02:51:50 PDT 2009


We have that problem too.
Not with USB headset only. Some sound cards deliver all 0 samples when no
microphone is connected.

Using FIXED_POINT solved it. But what are the drawbacks of FIXED_POINT in
comparison to FLOATING_POINT?

Mark

-----Ursprüngliche Nachricht-----
Von: speex-dev-bounces at xiph.org [mailto:speex-dev-bounces at xiph.org] Im
Auftrag von Jozsef Vass
Gesendet: Freitag, 25. September 2009 23:43
An: mark_schilling at gmx.de
Cc: speex-dev at xiph.org
Betreff: Re: [Speex-dev] High CPU usage

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



      
_______________________________________________
Speex-dev mailing list
Speex-dev at xiph.org
http://lists.xiph.org/mailman/listinfo/speex-dev



More information about the Speex-dev mailing list