]> sjero.net Git - linphone/blobdiff - coreapi/private.h
Add callbacks for audio (un)initialization in the echo canceller calibrator.
[linphone] / coreapi / private.h
index 5e265c616cb0b930b353257e4799c50fb68514e7..b5312bd60c27634b4f927266c690ef9506a41f91 100644 (file)
@@ -438,8 +438,6 @@ typedef struct sip_config
        int delayed_timeout;    /*timeout after a delayed call is resumed */
        unsigned int keepalive_period; /* interval in ms between keep alive messages sent to the proxy server*/
        LCSipTransports transports;
-       bool_t use_info;
-       bool_t use_rfc2833;     /*force RFC2833 to be sent*/
        bool_t guess_hostname;
        bool_t loopback_only;
        bool_t ipv6_enabled;
@@ -664,6 +662,8 @@ struct _EcCalibrator{
        MSTicker *ticker;
        LinphoneEcCalibrationCallback cb;
        void *cb_data;
+       LinphoneEcCalibrationAudioInit audio_init_cb;
+       LinphoneEcCalibrationAudioUninit audio_uninit_cb;
        int64_t acc;
        int delay;
        unsigned int rate;