[Speex-dev] High CPU usage
Mark Schilling
mark_schilling at gmx.de
Thu Oct 1 10:53:06 PDT 2009
Hi Jozsef,
this approach sounds interesting.
Do have you have some source code available ?
Thanks
Mark
-----Original Message-----
From: speex-dev-bounces at xiph.org [mailto:speex-dev-bounces at xiph.org] On Behalf Of Jozsef Vass
Sent: Friday, September 25, 2009 11:43 PM
To: mark_schilling at gmx.de
Cc: speex-dev at xiph.org
Subject: 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
--
Neu: GMX Doppel-FLAT mit Internet-Flatrate + Telefon-Flatrate
für nur 19,99 Euro/mtl.!* http://portal.gmx.net/de/go/dsl02
More information about the Speex-dev
mailing list