Ignore:
Timestamp:
Nov 23, 2006 10:19:46 AM (18 years ago)
Author:
bennylp
Message:

Updated Speex to their latest SVN (1.2-beta). AEC seems
to work much better now and take less CPU, so I increased
default tail length in PJSUA to 800ms.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/pjmedia/src/pjmedia-codec/speex/nb_celp.h

    r628 r823  
    1 /* Copyright (C) 2002 Jean-Marc Valin */ 
     1/* Copyright (C) 2002-2006 Jean-Marc Valin */ 
    22/** 
    33    @file nb_celp.h 
     
    9595   spx_mem_t *mem_exc;           /**< Filter memory for excitation (whole frame) */ 
    9696   spx_mem_t *mem_exc2;          /**< Filter memory for excitation (whole frame) */ 
     97   spx_mem_t mem_hp[2];          /**< High-pass filter memory */ 
    9798   spx_word32_t *pi_gain;        /**< Gain of LPC filter at theta=pi (fe/2) */ 
    9899   spx_sig_t *innov_save;        /**< If non-NULL, innovation is copied here */ 
     
    101102   float  vbr_quality;           /**< Quality setting for VBR encoding */ 
    102103   float  relative_quality;      /**< Relative quality that will be needed by VBR */ 
    103    int    vbr_enabled;           /**< 1 for enabling VBR, 0 otherwise */ 
     104   spx_int32_t vbr_enabled;      /**< 1 for enabling VBR, 0 otherwise */ 
    104105   spx_int32_t vbr_max;          /**< Max bit-rate allowed in VBR mode */ 
    105106   int    vad_enabled;           /**< 1 for enabling VAD, 0 otherwise */ 
     
    117118   int    submodeID;             /**< Activated sub-mode */ 
    118119   int    submodeSelect;         /**< Mode chosen by the user (may differ from submodeID if VAD is on) */ 
     120   int    isWideband;            /**< Is this used as part of the embedded wideband codec */ 
     121   int    highpass_enabled;        /**< Is the input filter enabled */ 
    119122} EncState; 
    120123 
     
    144147   spx_coef_t *interp_qlpc;     /**< Interpolated quantized LPCs */ 
    145148   spx_mem_t *mem_sp;           /**< Filter memory for synthesis signal */ 
     149   spx_mem_t mem_hp[2];         /**< High-pass filter memory */ 
    146150   spx_word32_t *pi_gain;       /**< Gain of LPC filter at theta=pi (fe/2) */ 
    147151   spx_sig_t *innov_save;       /** If non-NULL, innovation is copied here */ 
     
    169173 
    170174   int    dtx_enabled; 
     175   int    isWideband;            /**< Is this used as part of the embedded wideband codec */ 
     176   int    highpass_enabled;        /**< Is the input filter enabled */ 
    171177} DecState; 
    172178 
Note: See TracChangeset for help on using the changeset viewer.