Commit f1c6a740 authored by Dmitry Samonenko's avatar Dmitry Samonenko Committed by Martin Storsjö

libspeexenc: Updated commentary to reflect recent changes

Signed-off-by: 's avatarMartin Storsjö <martin@martin.st>
parent 978d5bd2
...@@ -62,6 +62,23 @@ ...@@ -62,6 +62,23 @@
* sometimes desirable to use multiple frames-per-packet to reduce the * sometimes desirable to use multiple frames-per-packet to reduce the
* amount of container overhead. This can be done by setting the * amount of container overhead. This can be done by setting the
* 'frames_per_packet' option to a value 1 to 8. * 'frames_per_packet' option to a value 1 to 8.
*
*
* Optional features
* Speex encoder supports several optional features, which can be useful
* for some conditions.
*
* Voice Activity Detection
* When enabled, voice activity detection detects whether the audio
* being encoded is speech or silence/background noise. VAD is always
* implicitly activated when encoding in VBR, so the option is only useful
* in non-VBR operation. In this case, Speex detects non-speech periods and
* encodes them with just enough bits to reproduce the background noise.
*
* Discontinuous Transmission (DTX)
* DTX is an addition to VAD/VBR operation, that allows to stop transmitting
* completely when the background noise is stationary.
* In file-based operation only 5 bits are used for such frames.
*/ */
#include <speex/speex.h> #include <speex/speex.h>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment