Changeset 693:1ce4d6fa9b16 in mediastreamer2


Ignore:
Timestamp:
Sep 25, 2009 2:52:39 PM (4 years ago)
Author:
smorlat <smorlat@…>
Branch:
default
Message:

experiment unstandart gsm codec running at 11khz

git-svn-id: svn+ssh://svn.savannah.nongnu.org/linphone/trunk@681 3f6dc0c8-ddfe-455d-9043-3cd528dc4637

Location:
linphone
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • linphone/coreapi/linphonecore.c

    r691 r693  
    3838#endif 
    3939 
    40 #ifdef WIN32 
    41 #define HAVE_EXOSIP_GET_VERSION 1 
    42 #endif 
    43  
     40#define UNSTANDART_GSM_11K 1 
    4441 
    4542static const char *liblinphone_version=LIBLINPHONE_VERSION; 
     
    667664#endif 
    668665 
     666#ifdef UNSTANDART_GSM_11K 
     667static PayloadType *gsm_11k=NULL; 
     668#endif 
     669 
    669670void linphone_core_init (LinphoneCore * lc, const LinphoneCoreVTable *vtable, const char *config_path, void * userdata) 
    670671{ 
     
    704705        rtp_profile_set_payload(&av_profile,103,payload_type_h264_packetization_mode_1); 
    705706        rtp_profile_set_payload(&av_profile,102,&payload_type_h264); 
     707#endif 
     708 
     709#ifdef UNSTANDART_GSM_11K 
     710        gsm_11k=payload_type_clone(&payload_type_gsm); 
     711        gsm_11k->clock_rate=11025; 
     712        rtp_profile_set_payload(&av_profile,96,gsm_11k); 
    706713#endif 
    707714 
  • linphone/linphone.kdevelop

    r611 r693  
    1111    <projectdirectory>.</projectdirectory> 
    1212    <absoluteprojectpath>false</absoluteprojectpath> 
    13     <description/> 
    14     <defaultencoding/> 
     13    <description></description> 
     14    <defaultencoding></defaultencoding> 
    1515  </general> 
    1616  <kdevcustomproject> 
    1717    <run> 
    1818      <directoryradio>executable</directoryradio> 
    19       <mainprogram>/home/smorlat/sources/git/linphone/linphone</mainprogram> 
    20       <programargs/> 
    21       <globaldebugarguments/> 
    22       <globalcwd>/home/smorlat/sources/git/linphone/linphone</globalcwd> 
     19      <mainprogram>gtk-glade/linphone-3</mainprogram> 
     20      <programargs></programargs> 
     21      <globaldebugarguments></globaldebugarguments> 
     22      <globalcwd></globalcwd> 
    2323      <useglobalprogram>false</useglobalprogram> 
    2424      <terminal>false</terminal> 
     
    392392    <build> 
    393393      <buildtool>make</buildtool> 
    394       <builddir/> 
     394      <builddir></builddir> 
    395395    </build> 
    396396    <other> 
    397397      <prio>0</prio> 
    398       <otherbin/> 
    399       <defaulttarget/> 
    400       <otheroptions/> 
     398      <otherbin></otherbin> 
     399      <defaulttarget></defaulttarget> 
     400      <otheroptions></otheroptions> 
    401401      <selectedenvironment>default</selectedenvironment> 
    402402      <environments> 
     
    409409      <prio>0</prio> 
    410410      <dontact>false</dontact> 
    411       <makebin/> 
    412       <defaulttarget/> 
    413       <makeoptions/> 
     411      <makebin></makebin> 
     412      <defaulttarget></defaulttarget> 
     413      <makeoptions></makeoptions> 
    414414      <selectedenvironment>default</selectedenvironment> 
    415415      <environments> 
     
    420420  <kdevdebugger> 
    421421    <general> 
    422       <dbgshell/> 
    423       <gdbpath/> 
    424       <configGdbScript/> 
    425       <runShellScript/> 
    426       <runGdbScript/> 
     422      <dbgshell></dbgshell> 
     423      <gdbpath></gdbpath> 
     424      <configGdbScript></configGdbScript> 
     425      <runShellScript></runShellScript> 
     426      <runGdbScript></runGdbScript> 
    427427      <breakonloadinglibs>true</breakonloadinglibs> 
    428428      <separatetty>false</separatetty> 
     
    527527    </codecompletion> 
    528528    <creategettersetter> 
    529       <prefixGet/> 
     529      <prefixGet></prefixGet> 
    530530      <prefixSet>set</prefixSet> 
    531531      <prefixVariable>m_,_</prefixVariable> 
Note: See TracChangeset for help on using the changeset viewer.