diff --git a/linphone/coreapi/linphonecore.c b/linphone/coreapi/linphonecore.c index e5d753ab9..cabd29d90 100644 --- a/linphone/coreapi/linphonecore.c +++ b/linphone/coreapi/linphonecore.c @@ -37,10 +37,7 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. #endif #endif -#ifdef WIN32 -#define HAVE_EXOSIP_GET_VERSION 1 -#endif - +#define UNSTANDART_GSM_11K 1 static const char *liblinphone_version=LIBLINPHONE_VERSION; @@ -666,6 +663,10 @@ static PayloadType * linphone_mp4v_es=NULL; static PayloadType * linphone_h263_old=NULL; #endif +#ifdef UNSTANDART_GSM_11K +static PayloadType *gsm_11k=NULL; +#endif + void linphone_core_init (LinphoneCore * lc, const LinphoneCoreVTable *vtable, const char *config_path, void * userdata) { memset (lc, 0, sizeof (LinphoneCore)); @@ -705,6 +706,12 @@ void linphone_core_init (LinphoneCore * lc, const LinphoneCoreVTable *vtable, co rtp_profile_set_payload(&av_profile,102,&payload_type_h264); #endif +#ifdef UNSTANDART_GSM_11K + gsm_11k=payload_type_clone(&payload_type_gsm); + gsm_11k->clock_rate=11025; + rtp_profile_set_payload(&av_profile,96,gsm_11k); +#endif + ms_init(); lc->config=lp_config_new(config_path); diff --git a/linphone/linphone.kdevelop b/linphone/linphone.kdevelop index ee96b4138..eeb6999f2 100644 --- a/linphone/linphone.kdevelop +++ b/linphone/linphone.kdevelop @@ -10,16 +10,16 @@ linphone . false - - + + executable - /home/smorlat/sources/git/linphone/linphone - - - /home/smorlat/sources/git/linphone/linphone + gtk-glade/linphone-3 + + + false false false @@ -391,13 +391,13 @@ make - + 0 - - - + + + default @@ -408,9 +408,9 @@ 0 0 false - - - + + + default @@ -419,11 +419,11 @@ - - - - - + + + + + true false false @@ -526,7 +526,7 @@ .; - + set m_,_ theValue