Ignore:
Timestamp:
Aug 9, 2008 5:40:22 AM (16 years ago)
Author:
bennylp
Message:

Ticket #588: Improvements to echo cancellation framework

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/pjmedia/src/pjmedia/echo_internal.h

    r2039 r2198  
    2929PJ_DECL(pj_status_t) echo_supp_create(pj_pool_t *pool, 
    3030                                      unsigned clock_rate, 
     31                                      unsigned channel_count, 
    3132                                      unsigned samples_per_frame, 
    3233                                      unsigned tail_ms, 
    33                                       unsigned latency_ms, 
    3434                                      unsigned options, 
    3535                                      void **p_state ); 
    3636PJ_DECL(pj_status_t) echo_supp_destroy(void *state); 
    37 PJ_DECL(pj_status_t) echo_supp_playback(void *state, 
    38                                         pj_int16_t *play_frm ); 
    39 PJ_DECL(pj_status_t) echo_supp_capture(void *state, 
    40                                        pj_int16_t *rec_frm, 
    41                                        unsigned options ); 
     37PJ_DECL(void) echo_supp_reset(void *state); 
    4238PJ_DECL(pj_status_t) echo_supp_cancel_echo(void *state, 
    4339                                           pj_int16_t *rec_frm, 
     
    4844PJ_DECL(pj_status_t) speex_aec_create(pj_pool_t *pool, 
    4945                                      unsigned clock_rate, 
     46                                      unsigned channel_count, 
    5047                                      unsigned samples_per_frame, 
    5148                                      unsigned tail_ms, 
    52                                       unsigned latency_ms, 
    5349                                      unsigned options, 
    5450                                      void **p_state ); 
    5551PJ_DECL(pj_status_t) speex_aec_destroy(void *state ); 
    56 PJ_DECL(pj_status_t) speex_aec_playback(void *state, 
    57                                         pj_int16_t *play_frm ); 
    58 PJ_DECL(pj_status_t) speex_aec_capture(void *state, 
    59                                        pj_int16_t *rec_frm, 
    60                                        unsigned options ); 
     52PJ_DECL(void) speex_aec_reset(void *state ); 
    6153PJ_DECL(pj_status_t) speex_aec_cancel_echo(void *state, 
    6254                                           pj_int16_t *rec_frm, 
     
    6557                                           void *reserved ); 
    6658 
     59PJ_DECL(pj_status_t) ipp_aec_create(pj_pool_t *pool, 
     60                                    unsigned clock_rate, 
     61                                    unsigned channel_count, 
     62                                    unsigned samples_per_frame, 
     63                                    unsigned tail_ms, 
     64                                    unsigned options, 
     65                                    void **p_echo ); 
     66PJ_DECL(pj_status_t) ipp_aec_destroy(void *state ); 
     67PJ_DECL(void) ipp_aec_reset(void *state ); 
     68PJ_DECL(pj_status_t) ipp_aec_cancel_echo(void *state, 
     69                                         pj_int16_t *rec_frm, 
     70                                         const pj_int16_t *play_frm, 
     71                                         unsigned options, 
     72                                         void *reserved ); 
     73 
    6774 
    6875PJ_END_DECL 
Note: See TracChangeset for help on using the changeset viewer.