Ignore:
Timestamp:
Jul 26, 2006 5:04:54 PM (18 years ago)
Author:
bennylp
Message:
  • Bring speex codec up to date with their SVN trunk
  • Speex codec should work in FIXED_POINT mode when PJ_HAS_FLOATING_POINT is set to zero.
  • ulaw2linear will return zero if zero is given (this would make the VAD works better, and it also fixed click noise when call is established/hangup).
File:
1 edited

Legend:

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

    r278 r628  
    6262 
    6363/** Performs echo cancellation a frame */ 
    64 void speex_echo_cancel(SpeexEchoState *st, short *ref, short *echo, short *out, spx_int32_t *Y); 
     64void speex_echo_cancel(SpeexEchoState *st, const spx_int16_t *rec, const spx_int16_t *play, spx_int16_t *out, spx_int32_t *Yout); 
     65 
     66/** Perform echo cancellation using internal playback buffer */ 
     67void speex_echo_capture(SpeexEchoState *st, const spx_int16_t *rec, spx_int16_t *out, spx_int32_t *Yout); 
     68 
     69/** Let the echo canceller know that a frame was just played */ 
     70void speex_echo_playback(SpeexEchoState *st, const spx_int16_t *play); 
    6571 
    6672/** Reset the echo canceller state */ 
Note: See TracChangeset for help on using the changeset viewer.