Skip to content
  • Alexey Fisher's avatar
    speexenc: Use speex intern silence detection · 0016ceaa
    Alexey Fisher authored
    Speex has build in silence detection. If speex_encode_int returns 0,
    than there is silence and sample do not need to be transmitted.
    This work only if vbr=1 and dtx=1 optionas are enabled.
    So if we get 0, we add GAP flag to the sample.
    0016ceaa