[Speex-dev] speexenc and silance detection

Alexey Fisher bug-track at fisher-privat.net
Fri Apr 8 02:36:24 PDT 2011

Hallo all,

i working corrently on speexenc element in gstreamer. With small patch
gst can now use speexs silence detection, and drop transmission over


Now i wont to prevent silence detection if we know there is silence on
the wire. Gstreamr usually set GAP flag on samples known to bi silent.
So there is no need for more CPU use if we know it should be dropped.

Use case: for example user turn off microphone in VOIP chat.

My question is: are there any good way to do it? I think it is a bad
idea to drop samples just before encoder.


More information about the Speex-dev mailing list