Changeset 2747


Ignore:
Timestamp:
Jun 4, 2009 6:48:49 PM (15 years ago)
Author:
nanang
Message:

Ticket #879:

  • Added pjmedia synchronizer port.
  • Updated affected components, i.e: sound port, AEC, conference bridge.
Location:
pjproject/trunk/pjmedia
Files:
2 added
4 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/pjmedia/build/pjmedia.vcproj

    r2664 r2747  
    3535                <Configuration 
    3636                        Name="Release|Win32" 
     37                        ConfigurationType="4" 
    3738                        InheritedPropertySheets="..\..\build\vs\pjproject-vs8-release-dynamic-defaults.vsprops;..\..\build\vs\pjproject-vs8-win32-release-defaults.vsprops" 
    38  
     39                        UseOfMFC="0" 
    3940                        ATLMinimizesCRunTimeLibraryUsage="false" 
    40  
    4141                        CharacterSet="2" 
    42  
    43                         ConfigurationType="4" 
    44                         UseOfMFC="0" 
    4542                        > 
    4643                        <Tool 
     
    6158                        <Tool 
    6259                                Name="VCCLCompilerTool" 
     60                                AdditionalIncludeDirectories="../include;../../pjlib/include;&quot;../../pjlib-util/include&quot;;../../pjnath/include;../../third_party/portaudio/include;../../third_party/speex/include;../../third_party/build/srtp;../../third_party/srtp/include;../../third_party/srtp/crypto/include;../..;&quot;$(DXSDK_DIR)include&quot;" 
    6361                                PreprocessorDefinitions="_LIB;" 
    64  
    65                                 AdditionalIncludeDirectories="../include;../../pjlib/include;&quot;../../pjlib-util/include&quot;;../../pjnath/include;../../third_party/portaudio/include;../../third_party/speex/include;../../third_party/build/srtp;../../third_party/srtp/include;../../third_party/srtp/crypto/include;../..;&quot;$(DXSDK_DIR)include&quot;" 
    6662                                PrecompiledHeaderFile="" 
    6763                        /> 
     
    9692                <Configuration 
    9793                        Name="Release|Windows Mobile 6 Standard SDK (ARMV4I)" 
     94                        ConfigurationType="4" 
    9895                        InheritedPropertySheets="..\..\build\vs\pjproject-vs8-release-dynamic-defaults.vsprops;..\..\build\vs\pjproject-vs8-wm6-release-defaults.vsprops" 
    99  
    10096                        ATLMinimizesCRunTimeLibraryUsage="false" 
    101  
    10297                        CharacterSet="1" 
    103  
    104                         ConfigurationType="4" 
    10598                        > 
    10699                        <Tool 
     
    121114                        <Tool 
    122115                                Name="VCCLCompilerTool" 
    123                                 PreprocessorDefinitions="_LIB;" 
    124  
    125116                                ExecutionBucket="7" 
    126117                                AdditionalIncludeDirectories="../include,../../pjlib/include,../../pjlib-util/include,../../pjnath/include,../../third_party/portaudio/include,../../third_party/speex/include,../../third_party/build/srtp,../../third_party/srtp/include,../../third_party/srtp/crypto/include;../.." 
     118                                PreprocessorDefinitions="_LIB;" 
    127119                                PrecompiledHeaderFile="" 
    128120                        /> 
     
    139131                                Name="VCLibrarianTool" 
    140132                                OutputFile="..\lib\$(ProjectName)-$(TargetCPU)-wm6std-vc$(VSVer)-$(ConfigurationName).lib" 
    141  
    142133                        /> 
    143134                        <Tool 
     
    167158                <Configuration 
    168159                        Name="Release|Windows Mobile 6 Professional SDK (ARMV4I)" 
     160                        ConfigurationType="4" 
    169161                        InheritedPropertySheets="..\..\build\vs\pjproject-vs8-release-dynamic-defaults.vsprops;..\..\build\vs\pjproject-vs8-wm6-release-defaults.vsprops" 
    170  
    171162                        ATLMinimizesCRunTimeLibraryUsage="false" 
    172  
    173163                        CharacterSet="1" 
    174  
    175                         ConfigurationType="4" 
    176164                        > 
    177165                        <Tool 
     
    192180                        <Tool 
    193181                                Name="VCCLCompilerTool" 
    194                                 PreprocessorDefinitions="_LIB;" 
    195  
    196182                                ExecutionBucket="7" 
    197183                                AdditionalIncludeDirectories="../include,../../pjlib/include,../../pjlib-util/include,../../pjnath/include,../../third_party/portaudio/include,../../third_party/speex/include,../../third_party/build/srtp,../../third_party/srtp/include,../../third_party/srtp/crypto/include;../.." 
     184                                PreprocessorDefinitions="_LIB;" 
    198185                                PrecompiledHeaderFile="" 
    199186                        /> 
     
    210197                                Name="VCLibrarianTool" 
    211198                                OutputFile="..\lib\$(ProjectName)-$(TargetCPU)-wm6pro-vc$(VSVer)-$(ConfigurationName).lib" 
    212  
    213199                        /> 
    214200                        <Tool 
     
    237223                </Configuration> 
    238224                <Configuration 
    239                         Name="Debug|Win32" 
    240                         InheritedPropertySheets="..\..\build\vs\pjproject-vs8-debug-static-defaults.vsprops;..\..\build\vs\pjproject-vs8-win32-common-defaults.vsprops" 
    241  
     225                        Name="Release|Pocket PC 2003 (ARMV4)" 
     226                        ConfigurationType="4" 
     227                        InheritedPropertySheets="..\..\build\vs\pjproject-vs8-release-dynamic-defaults.vsprops;..\..\build\vs\pjproject-vs8-wm2003-release-defaults.vsprops" 
    242228                        ATLMinimizesCRunTimeLibraryUsage="false" 
    243  
    244                         CharacterSet="2" 
    245  
    246                         ConfigurationType="4" 
    247                         UseOfMFC="0" 
     229                        CharacterSet="1" 
    248230                        > 
    249231                        <Tool 
     
    264246                        <Tool 
    265247                                Name="VCCLCompilerTool" 
    266                                 PreprocessorDefinitions="_LIB;" 
    267  
    268                                 AdditionalIncludeDirectories="../include;../../pjlib/include;&quot;../../pjlib-util/include&quot;;../../pjnath/include;../../third_party/portaudio/include;../../third_party/speex/include;../../third_party/build/srtp;../../third_party/srtp/include;../../third_party/srtp/crypto/include;../..;&quot;$(DXSDK_DIR)include&quot;" 
    269                                 PrecompiledHeaderFile="" 
    270                         /> 
    271                         <Tool 
    272                                 Name="VCManagedResourceCompilerTool" 
    273                         /> 
    274                         <Tool 
    275                                 Name="VCResourceCompilerTool" 
    276                         /> 
    277                         <Tool 
    278                                 Name="VCPreLinkEventTool" 
    279                         /> 
    280                         <Tool 
    281                                 Name="VCLibrarianTool" 
    282                         /> 
    283                         <Tool 
    284                                 Name="VCALinkTool" 
    285                         /> 
    286                         <Tool 
    287                                 Name="VCXDCMakeTool" 
    288                         /> 
    289                         <Tool 
    290                                 Name="VCBscMakeTool" 
    291                         /> 
    292                         <Tool 
    293                                 Name="VCFxCopTool" 
    294                         /> 
    295                         <Tool 
    296                                 Name="VCPostBuildEventTool" 
    297                         /> 
    298                 </Configuration> 
    299                 <Configuration 
    300                         Name="Debug|Windows Mobile 6 Standard SDK (ARMV4I)" 
    301                         InheritedPropertySheets="..\..\build\vs\pjproject-vs8-debug-static-defaults.vsprops;..\..\build\vs\pjproject-vs8-wm6-common-defaults.vsprops" 
    302  
    303                         ATLMinimizesCRunTimeLibraryUsage="false" 
    304  
    305                         CharacterSet="1" 
    306  
    307                         ConfigurationType="4" 
    308                         > 
    309                         <Tool 
    310                                 Name="VCPreBuildEventTool" 
    311                         /> 
    312                         <Tool 
    313                                 Name="VCCustomBuildTool" 
    314                         /> 
    315                         <Tool 
    316                                 Name="VCXMLDataGeneratorTool" 
    317                         /> 
    318                         <Tool 
    319                                 Name="VCWebServiceProxyGeneratorTool" 
    320                         /> 
    321                         <Tool 
    322                                 Name="VCMIDLTool" 
    323                         /> 
    324                         <Tool 
    325                                 Name="VCCLCompilerTool" 
    326                                 PreprocessorDefinitions="_LIB;" 
    327  
    328248                                ExecutionBucket="7" 
    329249                                AdditionalIncludeDirectories="../include,../../pjlib/include,../../pjlib-util/include,../../pjnath/include,../../third_party/portaudio/include,../../third_party/speex/include,../../third_party/build/srtp,../../third_party/srtp/include,../../third_party/srtp/crypto/include;../.." 
     250                                PreprocessorDefinitions="_LIB;" 
    330251                                PrecompiledHeaderFile="" 
    331252                        /> 
     
    341262                        <Tool 
    342263                                Name="VCLibrarianTool" 
    343                                 OutputFile="..\lib\$(ProjectName)-$(TargetCPU)-wm6std-vc$(VSVer)-$(ConfigurationName).lib" 
    344  
     264                                OutputFile="..\lib\$(ProjectName)-$(TargetCPU)-wm2003ppc-vc$(VSVer)-$(ConfigurationName).lib" 
    345265                        /> 
    346266                        <Tool 
     
    369289                </Configuration> 
    370290                <Configuration 
    371                         Name="Debug|Windows Mobile 6 Professional SDK (ARMV4I)" 
    372                         InheritedPropertySheets="..\..\build\vs\pjproject-vs8-debug-static-defaults.vsprops;..\..\build\vs\pjproject-vs8-wm6-common-defaults.vsprops" 
    373  
     291                        Name="Release|Smartphone 2003 (ARMV4)" 
     292                        ConfigurationType="4" 
     293                        InheritedPropertySheets="..\..\build\vs\pjproject-vs8-release-dynamic-defaults.vsprops;..\..\build\vs\pjproject-vs8-wm2003-release-defaults.vsprops" 
    374294                        ATLMinimizesCRunTimeLibraryUsage="false" 
    375  
    376295                        CharacterSet="1" 
    377  
    378                         ConfigurationType="4" 
    379296                        > 
    380297                        <Tool 
     
    395312                        <Tool 
    396313                                Name="VCCLCompilerTool" 
    397                                 PreprocessorDefinitions="_LIB;" 
    398  
    399314                                ExecutionBucket="7" 
    400315                                AdditionalIncludeDirectories="../include,../../pjlib/include,../../pjlib-util/include,../../pjnath/include,../../third_party/portaudio/include,../../third_party/speex/include,../../third_party/build/srtp,../../third_party/srtp/include,../../third_party/srtp/crypto/include;../.." 
     316                                PreprocessorDefinitions="_LIB;" 
    401317                                PrecompiledHeaderFile="" 
    402318                        /> 
     
    412328                        <Tool 
    413329                                Name="VCLibrarianTool" 
    414                                 OutputFile="..\lib\$(ProjectName)-$(TargetCPU)-wm6pro-vc$(VSVer)-$(ConfigurationName).lib" 
    415  
     330                                OutputFile="..\lib\$(ProjectName)-$(TargetCPU)-wm2003sp-vc$(VSVer)-$(ConfigurationName).lib" 
    416331                        /> 
    417332                        <Tool 
     
    440355                </Configuration> 
    441356                <Configuration 
    442                         Name="Debug-Static|Win32" 
    443                         InheritedPropertySheets="..\..\build\vs\pjproject-vs8-debug-static-defaults.vsprops;..\..\build\vs\pjproject-vs8-win32-common-defaults.vsprops" 
    444  
     357                        Name="Release|Windows Mobile 5.0 Pocket PC SDK (ARMV4I)" 
     358                        ConfigurationType="4" 
     359                        InheritedPropertySheets="..\..\build\vs\pjproject-vs8-release-dynamic-defaults.vsprops;..\..\build\vs\pjproject-vs8-wm5-release-defaults.vsprops" 
    445360                        ATLMinimizesCRunTimeLibraryUsage="false" 
    446  
    447                         CharacterSet="2" 
    448  
    449                         ConfigurationType="4" 
    450                         UseOfMFC="0" 
     361                        CharacterSet="1" 
    451362                        > 
    452363                        <Tool 
     
    467378                        <Tool 
    468379                                Name="VCCLCompilerTool" 
    469                                 PreprocessorDefinitions="_LIB;" 
    470  
    471                                 AdditionalIncludeDirectories="../include;../../pjlib/include;&quot;../../pjlib-util/include&quot;;../../pjnath/include;../../third_party/portaudio/include;../../third_party/speex/include;../../third_party/build/srtp;../../third_party/srtp/include;../../third_party/srtp/crypto/include;../..;&quot;$(DXSDK_DIR)include&quot;" 
    472                                 PrecompiledHeaderFile="" 
    473                         /> 
    474                         <Tool 
    475                                 Name="VCManagedResourceCompilerTool" 
    476                         /> 
    477                         <Tool 
    478                                 Name="VCResourceCompilerTool" 
    479                         /> 
    480                         <Tool 
    481                                 Name="VCPreLinkEventTool" 
    482                         /> 
    483                         <Tool 
    484                                 Name="VCLibrarianTool" 
    485                         /> 
    486                         <Tool 
    487                                 Name="VCALinkTool" 
    488                         /> 
    489                         <Tool 
    490                                 Name="VCXDCMakeTool" 
    491                         /> 
    492                         <Tool 
    493                                 Name="VCBscMakeTool" 
    494                         /> 
    495                         <Tool 
    496                                 Name="VCFxCopTool" 
    497                         /> 
    498                         <Tool 
    499                                 Name="VCPostBuildEventTool" 
    500                         /> 
    501                 </Configuration> 
    502                 <Configuration 
    503                         Name="Debug-Static|Windows Mobile 6 Standard SDK (ARMV4I)" 
    504                         InheritedPropertySheets="..\..\build\vs\pjproject-vs8-debug-static-defaults.vsprops;..\..\build\vs\pjproject-vs8-wm6-common-defaults.vsprops" 
    505  
    506                         ATLMinimizesCRunTimeLibraryUsage="false" 
    507  
    508                         CharacterSet="1" 
    509  
    510                         ConfigurationType="4" 
    511                         > 
    512                         <Tool 
    513                                 Name="VCPreBuildEventTool" 
    514                         /> 
    515                         <Tool 
    516                                 Name="VCCustomBuildTool" 
    517                         /> 
    518                         <Tool 
    519                                 Name="VCXMLDataGeneratorTool" 
    520                         /> 
    521                         <Tool 
    522                                 Name="VCWebServiceProxyGeneratorTool" 
    523                         /> 
    524                         <Tool 
    525                                 Name="VCMIDLTool" 
    526                         /> 
    527                         <Tool 
    528                                 Name="VCCLCompilerTool" 
    529                                 PreprocessorDefinitions="_LIB;" 
    530  
    531380                                ExecutionBucket="7" 
    532381                                AdditionalIncludeDirectories="../include,../../pjlib/include,../../pjlib-util/include,../../pjnath/include,../../third_party/portaudio/include,../../third_party/speex/include,../../third_party/build/srtp,../../third_party/srtp/include,../../third_party/srtp/crypto/include;../.." 
     382                                PreprocessorDefinitions="_LIB;" 
    533383                                PrecompiledHeaderFile="" 
    534384                        /> 
     
    544394                        <Tool 
    545395                                Name="VCLibrarianTool" 
    546                                 OutputFile="..\lib\$(ProjectName)-$(TargetCPU)-wm6std-vc$(VSVer)-$(ConfigurationName).lib" 
    547  
     396                                OutputFile="..\lib\$(ProjectName)-$(TargetCPU)-wm5ppc-vc$(VSVer)-$(ConfigurationName).lib" 
    548397                        /> 
    549398                        <Tool 
     
    572421                </Configuration> 
    573422                <Configuration 
    574                         Name="Debug-Static|Windows Mobile 6 Professional SDK (ARMV4I)" 
    575                         InheritedPropertySheets="..\..\build\vs\pjproject-vs8-debug-static-defaults.vsprops;..\..\build\vs\pjproject-vs8-wm6-common-defaults.vsprops" 
    576  
     423                        Name="Release|Windows Mobile 5.0 Smartphone SDK (ARMV4I)" 
     424                        ConfigurationType="4" 
     425                        InheritedPropertySheets="..\..\build\vs\pjproject-vs8-release-dynamic-defaults.vsprops;..\..\build\vs\pjproject-vs8-wm5-release-defaults.vsprops" 
    577426                        ATLMinimizesCRunTimeLibraryUsage="false" 
    578  
    579427                        CharacterSet="1" 
    580  
    581                         ConfigurationType="4" 
    582428                        > 
    583429                        <Tool 
     
    598444                        <Tool 
    599445                                Name="VCCLCompilerTool" 
    600                                 PreprocessorDefinitions="_LIB;" 
    601  
    602446                                ExecutionBucket="7" 
    603447                                AdditionalIncludeDirectories="../include,../../pjlib/include,../../pjlib-util/include,../../pjnath/include,../../third_party/portaudio/include,../../third_party/speex/include,../../third_party/build/srtp,../../third_party/srtp/include,../../third_party/srtp/crypto/include;../.." 
     448                                PreprocessorDefinitions="_LIB;" 
    604449                                PrecompiledHeaderFile="" 
    605450                        /> 
     
    615460                        <Tool 
    616461                                Name="VCLibrarianTool" 
    617                                 OutputFile="..\lib\$(ProjectName)-$(TargetCPU)-wm6pro-vc$(VSVer)-$(ConfigurationName).lib" 
    618  
     462                                OutputFile="..\lib\$(ProjectName)-$(TargetCPU)-wm5sp-vc$(VSVer)-$(ConfigurationName).lib" 
    619463                        /> 
    620464                        <Tool 
     
    643487                </Configuration> 
    644488                <Configuration 
    645                         Name="Release-Dynamic|Win32" 
    646                         InheritedPropertySheets="..\..\build\vs\pjproject-vs8-release-dynamic-defaults.vsprops;..\..\build\vs\pjproject-vs8-win32-release-defaults.vsprops" 
    647  
     489                        Name="Debug|Win32" 
     490                        ConfigurationType="4" 
     491                        InheritedPropertySheets="..\..\build\vs\pjproject-vs8-debug-static-defaults.vsprops;..\..\build\vs\pjproject-vs8-win32-common-defaults.vsprops" 
     492                        UseOfMFC="0" 
    648493                        ATLMinimizesCRunTimeLibraryUsage="false" 
    649  
    650494                        CharacterSet="2" 
    651  
    652                         ConfigurationType="4" 
    653                         UseOfMFC="0" 
    654495                        > 
    655496                        <Tool 
     
    670511                        <Tool 
    671512                                Name="VCCLCompilerTool" 
     513                                AdditionalIncludeDirectories="../include;../../pjlib/include;&quot;../../pjlib-util/include&quot;;../../pjnath/include;../../third_party/portaudio/include;../../third_party/speex/include;../../third_party/build/srtp;../../third_party/srtp/include;../../third_party/srtp/crypto/include;../..;&quot;$(DXSDK_DIR)include&quot;" 
    672514                                PreprocessorDefinitions="_LIB;" 
    673  
    674                                 AdditionalIncludeDirectories="../include;../../pjlib/include;&quot;../../pjlib-util/include&quot;;../../pjnath/include;../../third_party/portaudio/include;../../third_party/speex/include;../../third_party/build/srtp;../../third_party/srtp/include;../../third_party/srtp/crypto/include;../..;&quot;$(DXSDK_DIR)include&quot;" 
    675515                                PrecompiledHeaderFile="" 
    676516                        /> 
     
    704544                </Configuration> 
    705545                <Configuration 
    706                         Name="Release-Dynamic|Windows Mobile 6 Standard SDK (ARMV4I)" 
    707                         InheritedPropertySheets="..\..\build\vs\pjproject-vs8-release-dynamic-defaults.vsprops;..\..\build\vs\pjproject-vs8-wm6-release-defaults.vsprops" 
    708  
     546                        Name="Debug|Windows Mobile 6 Standard SDK (ARMV4I)" 
     547                        ConfigurationType="4" 
     548                        InheritedPropertySheets="..\..\build\vs\pjproject-vs8-debug-static-defaults.vsprops;..\..\build\vs\pjproject-vs8-wm6-common-defaults.vsprops" 
    709549                        ATLMinimizesCRunTimeLibraryUsage="false" 
    710  
    711550                        CharacterSet="1" 
    712  
    713                         ConfigurationType="4" 
    714551                        > 
    715552                        <Tool 
     
    730567                        <Tool 
    731568                                Name="VCCLCompilerTool" 
    732                                 PreprocessorDefinitions="_LIB;" 
    733  
    734569                                ExecutionBucket="7" 
    735570                                AdditionalIncludeDirectories="../include,../../pjlib/include,../../pjlib-util/include,../../pjnath/include,../../third_party/portaudio/include,../../third_party/speex/include,../../third_party/build/srtp,../../third_party/srtp/include,../../third_party/srtp/crypto/include;../.." 
     571                                PreprocessorDefinitions="_LIB;" 
    736572                                PrecompiledHeaderFile="" 
    737573                        /> 
     
    748584                                Name="VCLibrarianTool" 
    749585                                OutputFile="..\lib\$(ProjectName)-$(TargetCPU)-wm6std-vc$(VSVer)-$(ConfigurationName).lib" 
    750  
    751586                        /> 
    752587                        <Tool 
     
    775610                </Configuration> 
    776611                <Configuration 
    777                         Name="Release-Dynamic|Windows Mobile 6 Professional SDK (ARMV4I)" 
    778                         InheritedPropertySheets="..\..\build\vs\pjproject-vs8-release-dynamic-defaults.vsprops;..\..\build\vs\pjproject-vs8-wm6-release-defaults.vsprops" 
    779  
     612                        Name="Debug|Windows Mobile 6 Professional SDK (ARMV4I)" 
     613                        ConfigurationType="4" 
     614                        InheritedPropertySheets="..\..\build\vs\pjproject-vs8-debug-static-defaults.vsprops;..\..\build\vs\pjproject-vs8-wm6-common-defaults.vsprops" 
    780615                        ATLMinimizesCRunTimeLibraryUsage="false" 
    781  
    782616                        CharacterSet="1" 
    783  
    784                         ConfigurationType="4" 
    785617                        > 
    786618                        <Tool 
     
    801633                        <Tool 
    802634                                Name="VCCLCompilerTool" 
    803                                 PreprocessorDefinitions="_LIB;" 
    804  
    805635                                ExecutionBucket="7" 
    806636                                AdditionalIncludeDirectories="../include,../../pjlib/include,../../pjlib-util/include,../../pjnath/include,../../third_party/portaudio/include,../../third_party/speex/include,../../third_party/build/srtp,../../third_party/srtp/include,../../third_party/srtp/crypto/include;../.." 
     637                                PreprocessorDefinitions="_LIB;" 
    807638                                PrecompiledHeaderFile="" 
    808639                        /> 
     
    819650                                Name="VCLibrarianTool" 
    820651                                OutputFile="..\lib\$(ProjectName)-$(TargetCPU)-wm6pro-vc$(VSVer)-$(ConfigurationName).lib" 
    821  
    822652                        /> 
    823653                        <Tool 
     
    846676                </Configuration> 
    847677                <Configuration 
    848                         Name="Debug-Dynamic|Win32" 
    849                         InheritedPropertySheets="..\..\build\vs\pjproject-vs8-debug-dynamic-defaults.vsprops;..\..\build\vs\pjproject-vs8-win32-common-defaults.vsprops" 
    850  
     678                        Name="Debug|Pocket PC 2003 (ARMV4)" 
     679                        ConfigurationType="4" 
     680                        InheritedPropertySheets="..\..\build\vs\pjproject-vs8-debug-static-defaults.vsprops;..\..\build\vs\pjproject-vs8-wm2003-common-defaults.vsprops" 
    851681                        ATLMinimizesCRunTimeLibraryUsage="false" 
    852  
    853                         CharacterSet="2" 
    854  
    855                         ConfigurationType="4" 
    856                         UseOfMFC="0" 
     682                        CharacterSet="1" 
    857683                        > 
    858684                        <Tool 
     
    873699                        <Tool 
    874700                                Name="VCCLCompilerTool" 
    875                                 PreprocessorDefinitions="_LIB;" 
    876  
    877                                 AdditionalIncludeDirectories="../include;../../pjlib/include;&quot;../../pjlib-util/include&quot;;../../pjnath/include;../../third_party/portaudio/include;../../third_party/speex/include;../../third_party/build/srtp;../../third_party/srtp/include;../../third_party/srtp/crypto/include;../..;&quot;$(DXSDK_DIR)include&quot;" 
    878                                 PrecompiledHeaderFile="" 
    879                         /> 
    880                         <Tool 
    881                                 Name="VCManagedResourceCompilerTool" 
    882                         /> 
    883                         <Tool 
    884                                 Name="VCResourceCompilerTool" 
    885                         /> 
    886                         <Tool 
    887                                 Name="VCPreLinkEventTool" 
    888                         /> 
    889                         <Tool 
    890                                 Name="VCLibrarianTool" 
    891                         /> 
    892                         <Tool 
    893                                 Name="VCALinkTool" 
    894                         /> 
    895                         <Tool 
    896                                 Name="VCXDCMakeTool" 
    897                         /> 
    898                         <Tool 
    899                                 Name="VCBscMakeTool" 
    900                         /> 
    901                         <Tool 
    902                                 Name="VCFxCopTool" 
    903                         /> 
    904                         <Tool 
    905                                 Name="VCPostBuildEventTool" 
    906                         /> 
    907                 </Configuration> 
    908                 <Configuration 
    909                         Name="Debug-Dynamic|Windows Mobile 6 Standard SDK (ARMV4I)" 
    910                         InheritedPropertySheets="..\..\build\vs\pjproject-vs8-debug-dynamic-defaults.vsprops;..\..\build\vs\pjproject-vs8-wm6-common-defaults.vsprops" 
    911  
    912                         ATLMinimizesCRunTimeLibraryUsage="false" 
    913  
    914                         CharacterSet="1" 
    915  
    916                         ConfigurationType="4" 
    917                         > 
    918                         <Tool 
    919                                 Name="VCPreBuildEventTool" 
    920                         /> 
    921                         <Tool 
    922                                 Name="VCCustomBuildTool" 
    923                         /> 
    924                         <Tool 
    925                                 Name="VCXMLDataGeneratorTool" 
    926                         /> 
    927                         <Tool 
    928                                 Name="VCWebServiceProxyGeneratorTool" 
    929                         /> 
    930                         <Tool 
    931                                 Name="VCMIDLTool" 
    932                         /> 
    933                         <Tool 
    934                                 Name="VCCLCompilerTool" 
    935                                 PreprocessorDefinitions="_LIB;" 
    936  
    937701                                ExecutionBucket="7" 
    938702                                AdditionalIncludeDirectories="../include,../../pjlib/include,../../pjlib-util/include,../../pjnath/include,../../third_party/portaudio/include,../../third_party/speex/include,../../third_party/build/srtp,../../third_party/srtp/include,../../third_party/srtp/crypto/include;../.." 
     703                                PreprocessorDefinitions="_LIB;" 
    939704                                PrecompiledHeaderFile="" 
    940705                        /> 
     
    950715                        <Tool 
    951716                                Name="VCLibrarianTool" 
    952                                 OutputFile="..\lib\$(ProjectName)-$(TargetCPU)-wm6std-vc$(VSVer)-$(ConfigurationName).lib" 
    953  
     717                                OutputFile="..\lib\$(ProjectName)-$(TargetCPU)-wm2003ppc-vc$(VSVer)-$(ConfigurationName).lib" 
    954718                        /> 
    955719                        <Tool 
     
    978742                </Configuration> 
    979743                <Configuration 
    980                         Name="Debug-Dynamic|Windows Mobile 6 Professional SDK (ARMV4I)" 
    981                         InheritedPropertySheets="..\..\build\vs\pjproject-vs8-debug-dynamic-defaults.vsprops;..\..\build\vs\pjproject-vs8-wm6-common-defaults.vsprops" 
    982  
     744                        Name="Debug|Smartphone 2003 (ARMV4)" 
     745                        ConfigurationType="4" 
     746                        InheritedPropertySheets="..\..\build\vs\pjproject-vs8-debug-static-defaults.vsprops;..\..\build\vs\pjproject-vs8-wm2003-common-defaults.vsprops" 
    983747                        ATLMinimizesCRunTimeLibraryUsage="false" 
    984  
    985748                        CharacterSet="1" 
    986  
    987                         ConfigurationType="4" 
    988749                        > 
    989750                        <Tool 
     
    1004765                        <Tool 
    1005766                                Name="VCCLCompilerTool" 
    1006                                 PreprocessorDefinitions="_LIB;" 
    1007  
    1008767                                ExecutionBucket="7" 
    1009768                                AdditionalIncludeDirectories="../include,../../pjlib/include,../../pjlib-util/include,../../pjnath/include,../../third_party/portaudio/include,../../third_party/speex/include,../../third_party/build/srtp,../../third_party/srtp/include,../../third_party/srtp/crypto/include;../.." 
     769                                PreprocessorDefinitions="_LIB;" 
    1010770                                PrecompiledHeaderFile="" 
    1011771                        /> 
     
    1021781                        <Tool 
    1022782                                Name="VCLibrarianTool" 
    1023                                 OutputFile="..\lib\$(ProjectName)-$(TargetCPU)-wm6pro-vc$(VSVer)-$(ConfigurationName).lib" 
    1024  
     783                                OutputFile="..\lib\$(ProjectName)-$(TargetCPU)-wm2003sp-vc$(VSVer)-$(ConfigurationName).lib" 
    1025784                        /> 
    1026785                        <Tool 
     
    1049808                </Configuration> 
    1050809                <Configuration 
    1051                         Name="Release-Static|Win32" 
    1052                         InheritedPropertySheets="..\..\build\vs\pjproject-vs8-release-static-defaults.vsprops;..\..\build\vs\pjproject-vs8-win32-release-defaults.vsprops" 
    1053  
     810                        Name="Debug|Windows Mobile 5.0 Pocket PC SDK (ARMV4I)" 
     811                        ConfigurationType="4" 
     812                        InheritedPropertySheets="..\..\build\vs\pjproject-vs8-debug-static-defaults.vsprops;..\..\build\vs\pjproject-vs8-wm5-common-defaults.vsprops" 
    1054813                        ATLMinimizesCRunTimeLibraryUsage="false" 
    1055  
    1056                         CharacterSet="2" 
    1057  
    1058                         ConfigurationType="4" 
    1059                         UseOfMFC="0" 
     814                        CharacterSet="1" 
    1060815                        > 
    1061816                        <Tool 
     
    1076831                        <Tool 
    1077832                                Name="VCCLCompilerTool" 
    1078                                 PreprocessorDefinitions="_LIB;" 
    1079  
    1080                                 AdditionalIncludeDirectories="../include;../../pjlib/include;&quot;../../pjlib-util/include&quot;;../../pjnath/include;../../third_party/portaudio/include;../../third_party/speex/include;../../third_party/build/srtp;../../third_party/srtp/include;../../third_party/srtp/crypto/include;../..;&quot;$(DXSDK_DIR)include&quot;" 
    1081                                 PrecompiledHeaderFile="" 
    1082                         /> 
    1083                         <Tool 
    1084                                 Name="VCManagedResourceCompilerTool" 
    1085                         /> 
    1086                         <Tool 
    1087                                 Name="VCResourceCompilerTool" 
    1088                         /> 
    1089                         <Tool 
    1090                                 Name="VCPreLinkEventTool" 
    1091                         /> 
    1092                         <Tool 
    1093                                 Name="VCLibrarianTool" 
    1094                         /> 
    1095                         <Tool 
    1096                                 Name="VCALinkTool" 
    1097                         /> 
    1098                         <Tool 
    1099                                 Name="VCXDCMakeTool" 
    1100                         /> 
    1101                         <Tool 
    1102                                 Name="VCBscMakeTool" 
    1103                         /> 
    1104                         <Tool 
    1105                                 Name="VCFxCopTool" 
    1106                         /> 
    1107                         <Tool 
    1108                                 Name="VCPostBuildEventTool" 
    1109                         /> 
    1110                 </Configuration> 
    1111                 <Configuration 
    1112                         Name="Release-Static|Windows Mobile 6 Standard SDK (ARMV4I)" 
    1113                         InheritedPropertySheets="..\..\build\vs\pjproject-vs8-release-static-defaults.vsprops;..\..\build\vs\pjproject-vs8-wm6-release-defaults.vsprops" 
    1114  
    1115                         ATLMinimizesCRunTimeLibraryUsage="false" 
    1116  
    1117                         CharacterSet="1" 
    1118  
    1119                         ConfigurationType="4" 
    1120                         > 
    1121                         <Tool 
    1122                                 Name="VCPreBuildEventTool" 
    1123                         /> 
    1124                         <Tool 
    1125                                 Name="VCCustomBuildTool" 
    1126                         /> 
    1127                         <Tool 
    1128                                 Name="VCXMLDataGeneratorTool" 
    1129                         /> 
    1130                         <Tool 
    1131                                 Name="VCWebServiceProxyGeneratorTool" 
    1132                         /> 
    1133                         <Tool 
    1134                                 Name="VCMIDLTool" 
    1135                         /> 
    1136                         <Tool 
    1137                                 Name="VCCLCompilerTool" 
    1138                                 PreprocessorDefinitions="_LIB;" 
    1139  
    1140833                                ExecutionBucket="7" 
    1141834                                AdditionalIncludeDirectories="../include,../../pjlib/include,../../pjlib-util/include,../../pjnath/include,../../third_party/portaudio/include,../../third_party/speex/include,../../third_party/build/srtp,../../third_party/srtp/include,../../third_party/srtp/crypto/include;../.." 
     835                                PreprocessorDefinitions="_LIB;" 
    1142836                                PrecompiledHeaderFile="" 
    1143837                        /> 
     
    1153847                        <Tool 
    1154848                                Name="VCLibrarianTool" 
    1155                                 OutputFile="..\lib\$(ProjectName)-$(TargetCPU)-wm6std-vc$(VSVer)-$(ConfigurationName).lib" 
    1156  
     849                                OutputFile="..\lib\$(ProjectName)-$(TargetCPU)-wm5ppc-vc$(VSVer)-$(ConfigurationName).lib" 
    1157850                        /> 
    1158851                        <Tool 
     
    1181874                </Configuration> 
    1182875                <Configuration 
    1183                         Name="Release-Static|Windows Mobile 6 Professional SDK (ARMV4I)" 
    1184                         InheritedPropertySheets="..\..\build\vs\pjproject-vs8-release-static-defaults.vsprops;..\..\build\vs\pjproject-vs8-wm6-release-defaults.vsprops" 
    1185  
     876                        Name="Debug|Windows Mobile 5.0 Smartphone SDK (ARMV4I)" 
     877                        ConfigurationType="4" 
     878                        InheritedPropertySheets="..\..\build\vs\pjproject-vs8-debug-static-defaults.vsprops;..\..\build\vs\pjproject-vs8-wm5-common-defaults.vsprops" 
    1186879                        ATLMinimizesCRunTimeLibraryUsage="false" 
    1187  
    1188880                        CharacterSet="1" 
    1189  
    1190                         ConfigurationType="4" 
    1191881                        > 
    1192882                        <Tool 
     
    1207897                        <Tool 
    1208898                                Name="VCCLCompilerTool" 
    1209                                 PreprocessorDefinitions="_LIB;" 
    1210  
    1211899                                ExecutionBucket="7" 
    1212900                                AdditionalIncludeDirectories="../include,../../pjlib/include,../../pjlib-util/include,../../pjnath/include,../../third_party/portaudio/include,../../third_party/speex/include,../../third_party/build/srtp,../../third_party/srtp/include,../../third_party/srtp/crypto/include;../.." 
     901                                PreprocessorDefinitions="_LIB;" 
    1213902                                PrecompiledHeaderFile="" 
    1214903                        /> 
     
    1224913                        <Tool 
    1225914                                Name="VCLibrarianTool" 
    1226                                 OutputFile="..\lib\$(ProjectName)-$(TargetCPU)-wm6pro-vc$(VSVer)-$(ConfigurationName).lib" 
    1227  
     915                                OutputFile="..\lib\$(ProjectName)-$(TargetCPU)-wm5sp-vc$(VSVer)-$(ConfigurationName).lib" 
    1228916                        /> 
    1229917                        <Tool 
     
    1252940                </Configuration> 
    1253941                <Configuration 
    1254                         Name="Release|Pocket PC 2003 (ARMV4)" 
    1255                         InheritedPropertySheets="..\..\build\vs\pjproject-vs8-release-dynamic-defaults.vsprops;..\..\build\vs\pjproject-vs8-wm2003-release-defaults.vsprops" 
    1256  
     942                        Name="Debug-Static|Win32" 
     943                        ConfigurationType="4" 
     944                        InheritedPropertySheets="..\..\build\vs\pjproject-vs8-debug-static-defaults.vsprops;..\..\build\vs\pjproject-vs8-win32-common-defaults.vsprops" 
     945                        UseOfMFC="0" 
    1257946                        ATLMinimizesCRunTimeLibraryUsage="false" 
    1258  
     947                        CharacterSet="2" 
     948                        > 
     949                        <Tool 
     950                                Name="VCPreBuildEventTool" 
     951                        /> 
     952                        <Tool 
     953                                Name="VCCustomBuildTool" 
     954                        /> 
     955                        <Tool 
     956                                Name="VCXMLDataGeneratorTool" 
     957                        /> 
     958                        <Tool 
     959                                Name="VCWebServiceProxyGeneratorTool" 
     960                        /> 
     961                        <Tool 
     962                                Name="VCMIDLTool" 
     963                        /> 
     964                        <Tool 
     965                                Name="VCCLCompilerTool" 
     966                                AdditionalIncludeDirectories="../include;../../pjlib/include;&quot;../../pjlib-util/include&quot;;../../pjnath/include;../../third_party/portaudio/include;../../third_party/speex/include;../../third_party/build/srtp;../../third_party/srtp/include;../../third_party/srtp/crypto/include;../..;&quot;$(DXSDK_DIR)include&quot;" 
     967                                PreprocessorDefinitions="_LIB;" 
     968                                PrecompiledHeaderFile="" 
     969                        /> 
     970                        <Tool 
     971                                Name="VCManagedResourceCompilerTool" 
     972                        /> 
     973                        <Tool 
     974                                Name="VCResourceCompilerTool" 
     975                        /> 
     976                        <Tool 
     977                                Name="VCPreLinkEventTool" 
     978                        /> 
     979                        <Tool 
     980                                Name="VCLibrarianTool" 
     981                        /> 
     982                        <Tool 
     983                                Name="VCALinkTool" 
     984                        /> 
     985                        <Tool 
     986                                Name="VCXDCMakeTool" 
     987                        /> 
     988                        <Tool 
     989                                Name="VCBscMakeTool" 
     990                        /> 
     991                        <Tool 
     992                                Name="VCFxCopTool" 
     993                        /> 
     994                        <Tool 
     995                                Name="VCPostBuildEventTool" 
     996                        /> 
     997                </Configuration> 
     998                <Configuration 
     999                        Name="Debug-Static|Windows Mobile 6 Standard SDK (ARMV4I)" 
     1000                        ConfigurationType="4" 
     1001                        InheritedPropertySheets="..\..\build\vs\pjproject-vs8-debug-static-defaults.vsprops;..\..\build\vs\pjproject-vs8-wm6-common-defaults.vsprops" 
     1002                        ATLMinimizesCRunTimeLibraryUsage="false" 
    12591003                        CharacterSet="1" 
    1260  
    1261                         ConfigurationType="4" 
    12621004                        > 
    12631005                        <Tool 
     
    12781020                        <Tool 
    12791021                                Name="VCCLCompilerTool" 
    1280                                 PreprocessorDefinitions="_LIB;" 
    1281  
    12821022                                ExecutionBucket="7" 
    12831023                                AdditionalIncludeDirectories="../include,../../pjlib/include,../../pjlib-util/include,../../pjnath/include,../../third_party/portaudio/include,../../third_party/speex/include,../../third_party/build/srtp,../../third_party/srtp/include,../../third_party/srtp/crypto/include;../.." 
     1024                                PreprocessorDefinitions="_LIB;" 
    12841025                                PrecompiledHeaderFile="" 
    12851026                        /> 
     
    12951036                        <Tool 
    12961037                                Name="VCLibrarianTool" 
    1297                                 OutputFile="..\lib\$(ProjectName)-$(TargetCPU)-wm2003ppc-vc$(VSVer)-$(ConfigurationName).lib" 
    1298  
     1038                                OutputFile="..\lib\$(ProjectName)-$(TargetCPU)-wm6std-vc$(VSVer)-$(ConfigurationName).lib" 
    12991039                        /> 
    13001040                        <Tool 
     
    13231063                </Configuration> 
    13241064                <Configuration 
    1325                         Name="Debug|Pocket PC 2003 (ARMV4)" 
    1326                         InheritedPropertySheets="..\..\build\vs\pjproject-vs8-debug-static-defaults.vsprops;..\..\build\vs\pjproject-vs8-wm2003-common-defaults.vsprops" 
    1327  
     1065                        Name="Debug-Static|Windows Mobile 6 Professional SDK (ARMV4I)" 
     1066                        ConfigurationType="4" 
     1067                        InheritedPropertySheets="..\..\build\vs\pjproject-vs8-debug-static-defaults.vsprops;..\..\build\vs\pjproject-vs8-wm6-common-defaults.vsprops" 
    13281068                        ATLMinimizesCRunTimeLibraryUsage="false" 
    1329  
    13301069                        CharacterSet="1" 
    1331  
    1332                         ConfigurationType="4" 
    13331070                        > 
    13341071                        <Tool 
     
    13491086                        <Tool 
    13501087                                Name="VCCLCompilerTool" 
    1351                                 PreprocessorDefinitions="_LIB;" 
    1352  
    13531088                                ExecutionBucket="7" 
    13541089                                AdditionalIncludeDirectories="../include,../../pjlib/include,../../pjlib-util/include,../../pjnath/include,../../third_party/portaudio/include,../../third_party/speex/include,../../third_party/build/srtp,../../third_party/srtp/include,../../third_party/srtp/crypto/include;../.." 
     1090                                PreprocessorDefinitions="_LIB;" 
    13551091                                PrecompiledHeaderFile="" 
    13561092                        /> 
     
    13661102                        <Tool 
    13671103                                Name="VCLibrarianTool" 
    1368                                 OutputFile="..\lib\$(ProjectName)-$(TargetCPU)-wm2003ppc-vc$(VSVer)-$(ConfigurationName).lib" 
    1369  
     1104                                OutputFile="..\lib\$(ProjectName)-$(TargetCPU)-wm6pro-vc$(VSVer)-$(ConfigurationName).lib" 
    13701105                        /> 
    13711106                        <Tool 
     
    13951130                <Configuration 
    13961131                        Name="Debug-Static|Pocket PC 2003 (ARMV4)" 
     1132                        ConfigurationType="4" 
    13971133                        InheritedPropertySheets="..\..\build\vs\pjproject-vs8-debug-static-defaults.vsprops;..\..\build\vs\pjproject-vs8-wm2003-common-defaults.vsprops" 
    1398  
    13991134                        ATLMinimizesCRunTimeLibraryUsage="false" 
    1400  
    14011135                        CharacterSet="1" 
    1402  
    1403                         ConfigurationType="4" 
    14041136                        > 
    14051137                        <Tool 
     
    14201152                        <Tool 
    14211153                                Name="VCCLCompilerTool" 
    1422                                 PreprocessorDefinitions="_LIB;" 
    1423  
    14241154                                ExecutionBucket="7" 
    14251155                                AdditionalIncludeDirectories="../include,../../pjlib/include,../../pjlib-util/include,../../pjnath/include,../../third_party/portaudio/include,../../third_party/speex/include,../../third_party/build/srtp,../../third_party/srtp/include,../../third_party/srtp/crypto/include;../.." 
     1156                                PreprocessorDefinitions="_LIB;" 
    14261157                                PrecompiledHeaderFile="" 
    14271158                        /> 
     
    14381169                                Name="VCLibrarianTool" 
    14391170                                OutputFile="..\lib\$(ProjectName)-$(TargetCPU)-wm2003ppc-vc$(VSVer)-$(ConfigurationName).lib" 
    1440  
    14411171                        /> 
    14421172                        <Tool 
     
    14651195                </Configuration> 
    14661196                <Configuration 
    1467                         Name="Release-Dynamic|Pocket PC 2003 (ARMV4)" 
    1468                         InheritedPropertySheets="..\..\build\vs\pjproject-vs8-release-dynamic-defaults.vsprops;..\..\build\vs\pjproject-vs8-wm2003-release-defaults.vsprops" 
    1469  
     1197                        Name="Debug-Static|Smartphone 2003 (ARMV4)" 
     1198                        ConfigurationType="4" 
     1199                        InheritedPropertySheets="..\..\build\vs\pjproject-vs8-debug-static-defaults.vsprops;..\..\build\vs\pjproject-vs8-wm2003-common-defaults.vsprops" 
    14701200                        ATLMinimizesCRunTimeLibraryUsage="false" 
    1471  
    14721201                        CharacterSet="1" 
    1473  
    1474                         ConfigurationType="4" 
    14751202                        > 
    14761203                        <Tool 
     
    14911218                        <Tool 
    14921219                                Name="VCCLCompilerTool" 
    1493                                 PreprocessorDefinitions="_LIB;" 
    1494  
    14951220                                ExecutionBucket="7" 
    14961221                                AdditionalIncludeDirectories="../include,../../pjlib/include,../../pjlib-util/include,../../pjnath/include,../../third_party/portaudio/include,../../third_party/speex/include,../../third_party/build/srtp,../../third_party/srtp/include,../../third_party/srtp/crypto/include;../.." 
     1222                                PreprocessorDefinitions="_LIB;" 
    14971223                                PrecompiledHeaderFile="" 
    14981224                        /> 
     
    15081234                        <Tool 
    15091235                                Name="VCLibrarianTool" 
    1510                                 OutputFile="..\lib\$(ProjectName)-$(TargetCPU)-wm2003ppc-vc$(VSVer)-$(ConfigurationName).lib" 
    1511  
     1236                                OutputFile="..\lib\$(ProjectName)-$(TargetCPU)-wm2003sp-vc$(VSVer)-$(ConfigurationName).lib" 
    15121237                        /> 
    15131238                        <Tool 
     
    15361261                </Configuration> 
    15371262                <Configuration 
    1538                         Name="Debug-Dynamic|Pocket PC 2003 (ARMV4)" 
    1539                         InheritedPropertySheets="..\..\build\vs\pjproject-vs8-debug-dynamic-defaults.vsprops;..\..\build\vs\pjproject-vs8-wm2003-common-defaults.vsprops" 
    1540  
     1263                        Name="Debug-Static|Windows Mobile 5.0 Pocket PC SDK (ARMV4I)" 
     1264                        ConfigurationType="4" 
     1265                        InheritedPropertySheets="..\..\build\vs\pjproject-vs8-debug-static-defaults.vsprops;..\..\build\vs\pjproject-vs8-wm5-common-defaults.vsprops" 
    15411266                        ATLMinimizesCRunTimeLibraryUsage="false" 
    1542  
    15431267                        CharacterSet="1" 
    1544  
    1545                         ConfigurationType="4" 
    15461268                        > 
    15471269                        <Tool 
     
    15621284                        <Tool 
    15631285                                Name="VCCLCompilerTool" 
    1564                                 PreprocessorDefinitions="_LIB;" 
    1565  
    15661286                                ExecutionBucket="7" 
    15671287                                AdditionalIncludeDirectories="../include,../../pjlib/include,../../pjlib-util/include,../../pjnath/include,../../third_party/portaudio/include,../../third_party/speex/include,../../third_party/build/srtp,../../third_party/srtp/include,../../third_party/srtp/crypto/include;../.." 
     1288                                PreprocessorDefinitions="_LIB;" 
    15681289                                PrecompiledHeaderFile="" 
    15691290                        /> 
     
    15791300                        <Tool 
    15801301                                Name="VCLibrarianTool" 
    1581                                 OutputFile="..\lib\$(ProjectName)-$(TargetCPU)-wm2003ppc-vc$(VSVer)-$(ConfigurationName).lib" 
    1582  
     1302                                OutputFile="..\lib\$(ProjectName)-$(TargetCPU)-wm5ppc-vc$(VSVer)-$(ConfigurationName).lib" 
    15831303                        /> 
    15841304                        <Tool 
     
    16071327                </Configuration> 
    16081328                <Configuration 
    1609                         Name="Release-Static|Pocket PC 2003 (ARMV4)" 
    1610                         InheritedPropertySheets="..\..\build\vs\pjproject-vs8-release-static-defaults.vsprops;..\..\build\vs\pjproject-vs8-wm2003-release-defaults.vsprops" 
    1611  
     1329                        Name="Debug-Static|Windows Mobile 5.0 Smartphone SDK (ARMV4I)" 
     1330                        ConfigurationType="4" 
     1331                        InheritedPropertySheets="..\..\build\vs\pjproject-vs8-debug-static-defaults.vsprops;..\..\build\vs\pjproject-vs8-wm5-common-defaults.vsprops" 
    16121332                        ATLMinimizesCRunTimeLibraryUsage="false" 
    1613  
    16141333                        CharacterSet="1" 
    1615  
    1616                         ConfigurationType="4" 
    16171334                        > 
    16181335                        <Tool 
     
    16331350                        <Tool 
    16341351                                Name="VCCLCompilerTool" 
    1635                                 PreprocessorDefinitions="_LIB;" 
    1636  
    16371352                                ExecutionBucket="7" 
    16381353                                AdditionalIncludeDirectories="../include,../../pjlib/include,../../pjlib-util/include,../../pjnath/include,../../third_party/portaudio/include,../../third_party/speex/include,../../third_party/build/srtp,../../third_party/srtp/include,../../third_party/srtp/crypto/include;../.." 
     1354                                PreprocessorDefinitions="_LIB;" 
    16391355                                PrecompiledHeaderFile="" 
    16401356                        /> 
     
    16501366                        <Tool 
    16511367                                Name="VCLibrarianTool" 
    1652                                 OutputFile="..\lib\$(ProjectName)-$(TargetCPU)-wm2003ppc-vc$(VSVer)-$(ConfigurationName).lib" 
    1653  
     1368                                OutputFile="..\lib\$(ProjectName)-$(TargetCPU)-wm5sp-vc$(VSVer)-$(ConfigurationName).lib" 
    16541369                        /> 
    16551370                        <Tool 
     
    16781393                </Configuration> 
    16791394                <Configuration 
    1680                         Name="Release|Smartphone 2003 (ARMV4)" 
    1681                         InheritedPropertySheets="..\..\build\vs\pjproject-vs8-release-dynamic-defaults.vsprops;..\..\build\vs\pjproject-vs8-wm2003-release-defaults.vsprops" 
    1682  
     1395                        Name="Release-Dynamic|Win32" 
     1396                        ConfigurationType="4" 
     1397                        InheritedPropertySheets="..\..\build\vs\pjproject-vs8-release-dynamic-defaults.vsprops;..\..\build\vs\pjproject-vs8-win32-release-defaults.vsprops" 
     1398                        UseOfMFC="0" 
    16831399                        ATLMinimizesCRunTimeLibraryUsage="false" 
    1684  
     1400                        CharacterSet="2" 
     1401                        > 
     1402                        <Tool 
     1403                                Name="VCPreBuildEventTool" 
     1404                        /> 
     1405                        <Tool 
     1406                                Name="VCCustomBuildTool" 
     1407                        /> 
     1408                        <Tool 
     1409                                Name="VCXMLDataGeneratorTool" 
     1410                        /> 
     1411                        <Tool 
     1412                                Name="VCWebServiceProxyGeneratorTool" 
     1413                        /> 
     1414                        <Tool 
     1415                                Name="VCMIDLTool" 
     1416                        /> 
     1417                        <Tool 
     1418                                Name="VCCLCompilerTool" 
     1419                                AdditionalIncludeDirectories="../include;../../pjlib/include;&quot;../../pjlib-util/include&quot;;../../pjnath/include;../../third_party/portaudio/include;../../third_party/speex/include;../../third_party/build/srtp;../../third_party/srtp/include;../../third_party/srtp/crypto/include;../..;&quot;$(DXSDK_DIR)include&quot;" 
     1420                                PreprocessorDefinitions="_LIB;" 
     1421                                PrecompiledHeaderFile="" 
     1422                        /> 
     1423                        <Tool 
     1424                                Name="VCManagedResourceCompilerTool" 
     1425                        /> 
     1426                        <Tool 
     1427                                Name="VCResourceCompilerTool" 
     1428                        /> 
     1429                        <Tool 
     1430                                Name="VCPreLinkEventTool" 
     1431                        /> 
     1432                        <Tool 
     1433                                Name="VCLibrarianTool" 
     1434                        /> 
     1435                        <Tool 
     1436                                Name="VCALinkTool" 
     1437                        /> 
     1438                        <Tool 
     1439                                Name="VCXDCMakeTool" 
     1440                        /> 
     1441                        <Tool 
     1442                                Name="VCBscMakeTool" 
     1443                        /> 
     1444                        <Tool 
     1445                                Name="VCFxCopTool" 
     1446                        /> 
     1447                        <Tool 
     1448                                Name="VCPostBuildEventTool" 
     1449                        /> 
     1450                </Configuration> 
     1451                <Configuration 
     1452                        Name="Release-Dynamic|Windows Mobile 6 Standard SDK (ARMV4I)" 
     1453                        ConfigurationType="4" 
     1454                        InheritedPropertySheets="..\..\build\vs\pjproject-vs8-release-dynamic-defaults.vsprops;..\..\build\vs\pjproject-vs8-wm6-release-defaults.vsprops" 
     1455                        ATLMinimizesCRunTimeLibraryUsage="false" 
    16851456                        CharacterSet="1" 
    1686  
    1687                         ConfigurationType="4" 
    16881457                        > 
    16891458                        <Tool 
     
    17041473                        <Tool 
    17051474                                Name="VCCLCompilerTool" 
    1706                                 PreprocessorDefinitions="_LIB;" 
    1707  
    17081475                                ExecutionBucket="7" 
    17091476                                AdditionalIncludeDirectories="../include,../../pjlib/include,../../pjlib-util/include,../../pjnath/include,../../third_party/portaudio/include,../../third_party/speex/include,../../third_party/build/srtp,../../third_party/srtp/include,../../third_party/srtp/crypto/include;../.." 
     1477                                PreprocessorDefinitions="_LIB;" 
    17101478                                PrecompiledHeaderFile="" 
    17111479                        /> 
     
    17211489                        <Tool 
    17221490                                Name="VCLibrarianTool" 
    1723                                 OutputFile="..\lib\$(ProjectName)-$(TargetCPU)-wm2003sp-vc$(VSVer)-$(ConfigurationName).lib" 
    1724  
     1491                                OutputFile="..\lib\$(ProjectName)-$(TargetCPU)-wm6std-vc$(VSVer)-$(ConfigurationName).lib" 
    17251492                        /> 
    17261493                        <Tool 
     
    17491516                </Configuration> 
    17501517                <Configuration 
    1751                         Name="Debug|Smartphone 2003 (ARMV4)" 
    1752                         InheritedPropertySheets="..\..\build\vs\pjproject-vs8-debug-static-defaults.vsprops;..\..\build\vs\pjproject-vs8-wm2003-common-defaults.vsprops" 
    1753  
     1518                        Name="Release-Dynamic|Windows Mobile 6 Professional SDK (ARMV4I)" 
     1519                        ConfigurationType="4" 
     1520                        InheritedPropertySheets="..\..\build\vs\pjproject-vs8-release-dynamic-defaults.vsprops;..\..\build\vs\pjproject-vs8-wm6-release-defaults.vsprops" 
    17541521                        ATLMinimizesCRunTimeLibraryUsage="false" 
    1755  
    17561522                        CharacterSet="1" 
    1757  
    1758                         ConfigurationType="4" 
    17591523                        > 
    17601524                        <Tool 
     
    17751539                        <Tool 
    17761540                                Name="VCCLCompilerTool" 
    1777                                 PreprocessorDefinitions="_LIB;" 
    1778  
    17791541                                ExecutionBucket="7" 
    17801542                                AdditionalIncludeDirectories="../include,../../pjlib/include,../../pjlib-util/include,../../pjnath/include,../../third_party/portaudio/include,../../third_party/speex/include,../../third_party/build/srtp,../../third_party/srtp/include,../../third_party/srtp/crypto/include;../.." 
     1543                                PreprocessorDefinitions="_LIB;" 
    17811544                                PrecompiledHeaderFile="" 
    17821545                        /> 
     
    17921555                        <Tool 
    17931556                                Name="VCLibrarianTool" 
    1794                                 OutputFile="..\lib\$(ProjectName)-$(TargetCPU)-wm2003sp-vc$(VSVer)-$(ConfigurationName).lib" 
    1795  
     1557                                OutputFile="..\lib\$(ProjectName)-$(TargetCPU)-wm6pro-vc$(VSVer)-$(ConfigurationName).lib" 
    17961558                        /> 
    17971559                        <Tool 
     
    18201582                </Configuration> 
    18211583                <Configuration 
    1822                         Name="Debug-Static|Smartphone 2003 (ARMV4)" 
    1823                         InheritedPropertySheets="..\..\build\vs\pjproject-vs8-debug-static-defaults.vsprops;..\..\build\vs\pjproject-vs8-wm2003-common-defaults.vsprops" 
    1824  
     1584                        Name="Release-Dynamic|Pocket PC 2003 (ARMV4)" 
     1585                        ConfigurationType="4" 
     1586                        InheritedPropertySheets="..\..\build\vs\pjproject-vs8-release-dynamic-defaults.vsprops;..\..\build\vs\pjproject-vs8-wm2003-release-defaults.vsprops" 
    18251587                        ATLMinimizesCRunTimeLibraryUsage="false" 
    1826  
    18271588                        CharacterSet="1" 
    1828  
    1829                         ConfigurationType="4" 
    18301589                        > 
    18311590                        <Tool 
     
    18461605                        <Tool 
    18471606                                Name="VCCLCompilerTool" 
    1848                                 PreprocessorDefinitions="_LIB;" 
    1849  
    18501607                                ExecutionBucket="7" 
    18511608                                AdditionalIncludeDirectories="../include,../../pjlib/include,../../pjlib-util/include,../../pjnath/include,../../third_party/portaudio/include,../../third_party/speex/include,../../third_party/build/srtp,../../third_party/srtp/include,../../third_party/srtp/crypto/include;../.." 
     1609                                PreprocessorDefinitions="_LIB;" 
    18521610                                PrecompiledHeaderFile="" 
    18531611                        /> 
     
    18631621                        <Tool 
    18641622                                Name="VCLibrarianTool" 
    1865                                 OutputFile="..\lib\$(ProjectName)-$(TargetCPU)-wm2003sp-vc$(VSVer)-$(ConfigurationName).lib" 
    1866  
     1623                                OutputFile="..\lib\$(ProjectName)-$(TargetCPU)-wm2003ppc-vc$(VSVer)-$(ConfigurationName).lib" 
    18671624                        /> 
    18681625                        <Tool 
     
    18921649                <Configuration 
    18931650                        Name="Release-Dynamic|Smartphone 2003 (ARMV4)" 
     1651                        ConfigurationType="4" 
    18941652                        InheritedPropertySheets="..\..\build\vs\pjproject-vs8-release-dynamic-defaults.vsprops;..\..\build\vs\pjproject-vs8-wm2003-release-defaults.vsprops" 
    1895  
    18961653                        ATLMinimizesCRunTimeLibraryUsage="false" 
    1897  
    18981654                        CharacterSet="1" 
    1899  
    1900                         ConfigurationType="4" 
    19011655                        > 
    19021656                        <Tool 
     
    19171671                        <Tool 
    19181672                                Name="VCCLCompilerTool" 
    1919                                 PreprocessorDefinitions="_LIB;" 
    1920  
    19211673                                ExecutionBucket="7" 
    19221674                                AdditionalIncludeDirectories="../include,../../pjlib/include,../../pjlib-util/include,../../pjnath/include,../../third_party/portaudio/include,../../third_party/speex/include,../../third_party/build/srtp,../../third_party/srtp/include,../../third_party/srtp/crypto/include;../.." 
     1675                                PreprocessorDefinitions="_LIB;" 
    19231676                                PrecompiledHeaderFile="" 
    19241677                        /> 
     
    19351688                                Name="VCLibrarianTool" 
    19361689                                OutputFile="..\lib\$(ProjectName)-$(TargetCPU)-wm2003sp-vc$(VSVer)-$(ConfigurationName).lib" 
    1937  
    19381690                        /> 
    19391691                        <Tool 
     
    19621714                </Configuration> 
    19631715                <Configuration 
    1964                         Name="Debug-Dynamic|Smartphone 2003 (ARMV4)" 
    1965                         InheritedPropertySheets="..\..\build\vs\pjproject-vs8-debug-dynamic-defaults.vsprops;..\..\build\vs\pjproject-vs8-wm2003-common-defaults.vsprops" 
    1966  
     1716                        Name="Release-Dynamic|Windows Mobile 5.0 Pocket PC SDK (ARMV4I)" 
     1717                        ConfigurationType="4" 
     1718                        InheritedPropertySheets="..\..\build\vs\pjproject-vs8-release-dynamic-defaults.vsprops;..\..\build\vs\pjproject-vs8-wm5-release-defaults.vsprops" 
    19671719                        ATLMinimizesCRunTimeLibraryUsage="false" 
    1968  
    19691720                        CharacterSet="1" 
    1970  
    1971                         ConfigurationType="4" 
    19721721                        > 
    19731722                        <Tool 
     
    19881737                        <Tool 
    19891738                                Name="VCCLCompilerTool" 
    1990                                 PreprocessorDefinitions="_LIB;" 
    1991  
    19921739                                ExecutionBucket="7" 
    19931740                                AdditionalIncludeDirectories="../include,../../pjlib/include,../../pjlib-util/include,../../pjnath/include,../../third_party/portaudio/include,../../third_party/speex/include,../../third_party/build/srtp,../../third_party/srtp/include,../../third_party/srtp/crypto/include;../.." 
     1741                                PreprocessorDefinitions="_LIB;" 
    19941742                                PrecompiledHeaderFile="" 
    19951743                        /> 
     
    20051753                        <Tool 
    20061754                                Name="VCLibrarianTool" 
    2007                                 OutputFile="..\lib\$(ProjectName)-$(TargetCPU)-wm2003sp-vc$(VSVer)-$(ConfigurationName).lib" 
    2008  
     1755                                OutputFile="..\lib\$(ProjectName)-$(TargetCPU)-wm5ppc-vc$(VSVer)-$(ConfigurationName).lib" 
    20091756                        /> 
    20101757                        <Tool 
     
    20331780                </Configuration> 
    20341781                <Configuration 
    2035                         Name="Release-Static|Smartphone 2003 (ARMV4)" 
    2036                         InheritedPropertySheets="..\..\build\vs\pjproject-vs8-release-static-defaults.vsprops;..\..\build\vs\pjproject-vs8-wm2003-release-defaults.vsprops" 
    2037  
     1782                        Name="Release-Dynamic|Windows Mobile 5.0 Smartphone SDK (ARMV4I)" 
     1783                        ConfigurationType="4" 
     1784                        InheritedPropertySheets="..\..\build\vs\pjproject-vs8-release-dynamic-defaults.vsprops;..\..\build\vs\pjproject-vs8-wm5-release-defaults.vsprops" 
    20381785                        ATLMinimizesCRunTimeLibraryUsage="false" 
    2039  
    20401786                        CharacterSet="1" 
    2041  
    2042                         ConfigurationType="4" 
    20431787                        > 
    20441788                        <Tool 
     
    20591803                        <Tool 
    20601804                                Name="VCCLCompilerTool" 
    2061                                 PreprocessorDefinitions="_LIB;" 
    2062  
    20631805                                ExecutionBucket="7" 
    20641806                                AdditionalIncludeDirectories="../include,../../pjlib/include,../../pjlib-util/include,../../pjnath/include,../../third_party/portaudio/include,../../third_party/speex/include,../../third_party/build/srtp,../../third_party/srtp/include,../../third_party/srtp/crypto/include;../.." 
     1807                                PreprocessorDefinitions="_LIB;" 
    20651808                                PrecompiledHeaderFile="" 
    20661809                        /> 
     
    20761819                        <Tool 
    20771820                                Name="VCLibrarianTool" 
    2078                                 OutputFile="..\lib\$(ProjectName)-$(TargetCPU)-wm2003sp-vc$(VSVer)-$(ConfigurationName).lib" 
    2079  
     1821                                OutputFile="..\lib\$(ProjectName)-$(TargetCPU)-wm5sp-vc$(VSVer)-$(ConfigurationName).lib" 
    20801822                        /> 
    20811823                        <Tool 
     
    21041846                </Configuration> 
    21051847                <Configuration 
    2106                         Name="Release|Windows Mobile 5.0 Pocket PC SDK (ARMV4I)" 
    2107                         InheritedPropertySheets="..\..\build\vs\pjproject-vs8-release-dynamic-defaults.vsprops;..\..\build\vs\pjproject-vs8-wm5-release-defaults.vsprops" 
    2108  
     1848                        Name="Debug-Dynamic|Win32" 
     1849                        ConfigurationType="4" 
     1850                        InheritedPropertySheets="..\..\build\vs\pjproject-vs8-debug-dynamic-defaults.vsprops;..\..\build\vs\pjproject-vs8-win32-common-defaults.vsprops" 
     1851                        UseOfMFC="0" 
    21091852                        ATLMinimizesCRunTimeLibraryUsage="false" 
    2110  
     1853                        CharacterSet="2" 
     1854                        > 
     1855                        <Tool 
     1856                                Name="VCPreBuildEventTool" 
     1857                        /> 
     1858                        <Tool 
     1859                                Name="VCCustomBuildTool" 
     1860                        /> 
     1861                        <Tool 
     1862                                Name="VCXMLDataGeneratorTool" 
     1863                        /> 
     1864                        <Tool 
     1865                                Name="VCWebServiceProxyGeneratorTool" 
     1866                        /> 
     1867                        <Tool 
     1868                                Name="VCMIDLTool" 
     1869                        /> 
     1870                        <Tool 
     1871                                Name="VCCLCompilerTool" 
     1872                                AdditionalIncludeDirectories="../include;../../pjlib/include;&quot;../../pjlib-util/include&quot;;../../pjnath/include;../../third_party/portaudio/include;../../third_party/speex/include;../../third_party/build/srtp;../../third_party/srtp/include;../../third_party/srtp/crypto/include;../..;&quot;$(DXSDK_DIR)include&quot;" 
     1873                                PreprocessorDefinitions="_LIB;" 
     1874                                PrecompiledHeaderFile="" 
     1875                        /> 
     1876                        <Tool 
     1877                                Name="VCManagedResourceCompilerTool" 
     1878                        /> 
     1879                        <Tool 
     1880                                Name="VCResourceCompilerTool" 
     1881                        /> 
     1882                        <Tool 
     1883                                Name="VCPreLinkEventTool" 
     1884                        /> 
     1885                        <Tool 
     1886                                Name="VCLibrarianTool" 
     1887                        /> 
     1888                        <Tool 
     1889                                Name="VCALinkTool" 
     1890                        /> 
     1891                        <Tool 
     1892                                Name="VCXDCMakeTool" 
     1893                        /> 
     1894                        <Tool 
     1895                                Name="VCBscMakeTool" 
     1896                        /> 
     1897                        <Tool 
     1898                                Name="VCFxCopTool" 
     1899                        /> 
     1900                        <Tool 
     1901                                Name="VCPostBuildEventTool" 
     1902                        /> 
     1903                </Configuration> 
     1904                <Configuration 
     1905                        Name="Debug-Dynamic|Windows Mobile 6 Standard SDK (ARMV4I)" 
     1906                        ConfigurationType="4" 
     1907                        InheritedPropertySheets="..\..\build\vs\pjproject-vs8-debug-dynamic-defaults.vsprops;..\..\build\vs\pjproject-vs8-wm6-common-defaults.vsprops" 
     1908                        ATLMinimizesCRunTimeLibraryUsage="false" 
    21111909                        CharacterSet="1" 
    2112  
    2113                         ConfigurationType="4" 
    21141910                        > 
    21151911                        <Tool 
     
    21301926                        <Tool 
    21311927                                Name="VCCLCompilerTool" 
    2132                                 PreprocessorDefinitions="_LIB;" 
    2133  
    21341928                                ExecutionBucket="7" 
    21351929                                AdditionalIncludeDirectories="../include,../../pjlib/include,../../pjlib-util/include,../../pjnath/include,../../third_party/portaudio/include,../../third_party/speex/include,../../third_party/build/srtp,../../third_party/srtp/include,../../third_party/srtp/crypto/include;../.." 
     1930                                PreprocessorDefinitions="_LIB;" 
    21361931                                PrecompiledHeaderFile="" 
    21371932                        /> 
     
    21471942                        <Tool 
    21481943                                Name="VCLibrarianTool" 
    2149                                 OutputFile="..\lib\$(ProjectName)-$(TargetCPU)-wm5ppc-vc$(VSVer)-$(ConfigurationName).lib" 
    2150  
     1944                                OutputFile="..\lib\$(ProjectName)-$(TargetCPU)-wm6std-vc$(VSVer)-$(ConfigurationName).lib" 
    21511945                        /> 
    21521946                        <Tool 
     
    21751969                </Configuration> 
    21761970                <Configuration 
    2177                         Name="Debug|Windows Mobile 5.0 Pocket PC SDK (ARMV4I)" 
    2178                         InheritedPropertySheets="..\..\build\vs\pjproject-vs8-debug-static-defaults.vsprops;..\..\build\vs\pjproject-vs8-wm5-common-defaults.vsprops" 
    2179  
     1971                        Name="Debug-Dynamic|Windows Mobile 6 Professional SDK (ARMV4I)" 
     1972                        ConfigurationType="4" 
     1973                        InheritedPropertySheets="..\..\build\vs\pjproject-vs8-debug-dynamic-defaults.vsprops;..\..\build\vs\pjproject-vs8-wm6-common-defaults.vsprops" 
    21801974                        ATLMinimizesCRunTimeLibraryUsage="false" 
    2181  
    21821975                        CharacterSet="1" 
    2183  
    2184                         ConfigurationType="4" 
    21851976                        > 
    21861977                        <Tool 
     
    22011992                        <Tool 
    22021993                                Name="VCCLCompilerTool" 
    2203                                 PreprocessorDefinitions="_LIB;" 
    2204  
    22051994                                ExecutionBucket="7" 
    22061995                                AdditionalIncludeDirectories="../include,../../pjlib/include,../../pjlib-util/include,../../pjnath/include,../../third_party/portaudio/include,../../third_party/speex/include,../../third_party/build/srtp,../../third_party/srtp/include,../../third_party/srtp/crypto/include;../.." 
     1996                                PreprocessorDefinitions="_LIB;" 
    22071997                                PrecompiledHeaderFile="" 
    22081998                        /> 
     
    22182008                        <Tool 
    22192009                                Name="VCLibrarianTool" 
    2220                                 OutputFile="..\lib\$(ProjectName)-$(TargetCPU)-wm5ppc-vc$(VSVer)-$(ConfigurationName).lib" 
    2221  
     2010                                OutputFile="..\lib\$(ProjectName)-$(TargetCPU)-wm6pro-vc$(VSVer)-$(ConfigurationName).lib" 
    22222011                        /> 
    22232012                        <Tool 
     
    22462035                </Configuration> 
    22472036                <Configuration 
    2248                         Name="Debug-Static|Windows Mobile 5.0 Pocket PC SDK (ARMV4I)" 
    2249                         InheritedPropertySheets="..\..\build\vs\pjproject-vs8-debug-static-defaults.vsprops;..\..\build\vs\pjproject-vs8-wm5-common-defaults.vsprops" 
    2250  
     2037                        Name="Debug-Dynamic|Pocket PC 2003 (ARMV4)" 
     2038                        ConfigurationType="4" 
     2039                        InheritedPropertySheets="..\..\build\vs\pjproject-vs8-debug-dynamic-defaults.vsprops;..\..\build\vs\pjproject-vs8-wm2003-common-defaults.vsprops" 
    22512040                        ATLMinimizesCRunTimeLibraryUsage="false" 
    2252  
    22532041                        CharacterSet="1" 
    2254  
    2255                         ConfigurationType="4" 
    22562042                        > 
    22572043                        <Tool 
     
    22722058                        <Tool 
    22732059                                Name="VCCLCompilerTool" 
    2274                                 PreprocessorDefinitions="_LIB;" 
    2275  
    22762060                                ExecutionBucket="7" 
    22772061                                AdditionalIncludeDirectories="../include,../../pjlib/include,../../pjlib-util/include,../../pjnath/include,../../third_party/portaudio/include,../../third_party/speex/include,../../third_party/build/srtp,../../third_party/srtp/include,../../third_party/srtp/crypto/include;../.." 
     2062                                PreprocessorDefinitions="_LIB;" 
    22782063                                PrecompiledHeaderFile="" 
    22792064                        /> 
     
    22892074                        <Tool 
    22902075                                Name="VCLibrarianTool" 
    2291                                 OutputFile="..\lib\$(ProjectName)-$(TargetCPU)-wm5ppc-vc$(VSVer)-$(ConfigurationName).lib" 
    2292  
     2076                                OutputFile="..\lib\$(ProjectName)-$(TargetCPU)-wm2003ppc-vc$(VSVer)-$(ConfigurationName).lib" 
    22932077                        /> 
    22942078                        <Tool 
     
    23172101                </Configuration> 
    23182102                <Configuration 
    2319                         Name="Release-Dynamic|Windows Mobile 5.0 Pocket PC SDK (ARMV4I)" 
    2320                         InheritedPropertySheets="..\..\build\vs\pjproject-vs8-release-dynamic-defaults.vsprops;..\..\build\vs\pjproject-vs8-wm5-release-defaults.vsprops" 
    2321  
     2103                        Name="Debug-Dynamic|Smartphone 2003 (ARMV4)" 
     2104                        ConfigurationType="4" 
     2105                        InheritedPropertySheets="..\..\build\vs\pjproject-vs8-debug-dynamic-defaults.vsprops;..\..\build\vs\pjproject-vs8-wm2003-common-defaults.vsprops" 
    23222106                        ATLMinimizesCRunTimeLibraryUsage="false" 
    2323  
    23242107                        CharacterSet="1" 
    2325  
    2326                         ConfigurationType="4" 
    23272108                        > 
    23282109                        <Tool 
     
    23432124                        <Tool 
    23442125                                Name="VCCLCompilerTool" 
    2345                                 PreprocessorDefinitions="_LIB;" 
    2346  
    23472126                                ExecutionBucket="7" 
    23482127                                AdditionalIncludeDirectories="../include,../../pjlib/include,../../pjlib-util/include,../../pjnath/include,../../third_party/portaudio/include,../../third_party/speex/include,../../third_party/build/srtp,../../third_party/srtp/include,../../third_party/srtp/crypto/include;../.." 
     2128                                PreprocessorDefinitions="_LIB;" 
    23492129                                PrecompiledHeaderFile="" 
    23502130                        /> 
     
    23602140                        <Tool 
    23612141                                Name="VCLibrarianTool" 
    2362                                 OutputFile="..\lib\$(ProjectName)-$(TargetCPU)-wm5ppc-vc$(VSVer)-$(ConfigurationName).lib" 
    2363  
     2142                                OutputFile="..\lib\$(ProjectName)-$(TargetCPU)-wm2003sp-vc$(VSVer)-$(ConfigurationName).lib" 
    23642143                        /> 
    23652144                        <Tool 
     
    23892168                <Configuration 
    23902169                        Name="Debug-Dynamic|Windows Mobile 5.0 Pocket PC SDK (ARMV4I)" 
     2170                        ConfigurationType="4" 
    23912171                        InheritedPropertySheets="..\..\build\vs\pjproject-vs8-debug-dynamic-defaults.vsprops;..\..\build\vs\pjproject-vs8-wm5-common-defaults.vsprops" 
    2392  
    23932172                        ATLMinimizesCRunTimeLibraryUsage="false" 
    2394  
    23952173                        CharacterSet="1" 
    2396  
    2397                         ConfigurationType="4" 
    23982174                        > 
    23992175                        <Tool 
     
    24142190                        <Tool 
    24152191                                Name="VCCLCompilerTool" 
    2416                                 PreprocessorDefinitions="_LIB;" 
    2417  
    24182192                                ExecutionBucket="7" 
    24192193                                AdditionalIncludeDirectories="../include,../../pjlib/include,../../pjlib-util/include,../../pjnath/include,../../third_party/portaudio/include,../../third_party/speex/include,../../third_party/build/srtp,../../third_party/srtp/include,../../third_party/srtp/crypto/include;../.." 
     2194                                PreprocessorDefinitions="_LIB;" 
    24202195                                PrecompiledHeaderFile="" 
    24212196                        /> 
     
    24322207                                Name="VCLibrarianTool" 
    24332208                                OutputFile="..\lib\$(ProjectName)-$(TargetCPU)-wm5ppc-vc$(VSVer)-$(ConfigurationName).lib" 
    2434  
    24352209                        /> 
    24362210                        <Tool 
     
    24592233                </Configuration> 
    24602234                <Configuration 
    2461                         Name="Release-Static|Windows Mobile 5.0 Pocket PC SDK (ARMV4I)" 
    2462                         InheritedPropertySheets="..\..\build\vs\pjproject-vs8-release-static-defaults.vsprops;..\..\build\vs\pjproject-vs8-wm5-release-defaults.vsprops" 
    2463  
     2235                        Name="Debug-Dynamic|Windows Mobile 5.0 Smartphone SDK (ARMV4I)" 
     2236                        ConfigurationType="4" 
     2237                        InheritedPropertySheets="..\..\build\vs\pjproject-vs8-debug-dynamic-defaults.vsprops;..\..\build\vs\pjproject-vs8-wm5-common-defaults.vsprops" 
    24642238                        ATLMinimizesCRunTimeLibraryUsage="false" 
    2465  
    24662239                        CharacterSet="1" 
    2467  
    2468                         ConfigurationType="4" 
    24692240                        > 
    24702241                        <Tool 
     
    24852256                        <Tool 
    24862257                                Name="VCCLCompilerTool" 
    2487                                 PreprocessorDefinitions="_LIB;" 
    2488  
    24892258                                ExecutionBucket="7" 
    24902259                                AdditionalIncludeDirectories="../include,../../pjlib/include,../../pjlib-util/include,../../pjnath/include,../../third_party/portaudio/include,../../third_party/speex/include,../../third_party/build/srtp,../../third_party/srtp/include,../../third_party/srtp/crypto/include;../.." 
     2260                                PreprocessorDefinitions="_LIB;" 
    24912261                                PrecompiledHeaderFile="" 
    24922262                        /> 
     
    25022272                        <Tool 
    25032273                                Name="VCLibrarianTool" 
    2504                                 OutputFile="..\lib\$(ProjectName)-$(TargetCPU)-wm5ppc-vc$(VSVer)-$(ConfigurationName).lib" 
    2505  
     2274                                OutputFile="..\lib\$(ProjectName)-$(TargetCPU)-wm5sp-vc$(VSVer)-$(ConfigurationName).lib" 
    25062275                        /> 
    25072276                        <Tool 
     
    25302299                </Configuration> 
    25312300                <Configuration 
    2532                         Name="Release|Windows Mobile 5.0 Smartphone SDK (ARMV4I)" 
    2533                         InheritedPropertySheets="..\..\build\vs\pjproject-vs8-release-dynamic-defaults.vsprops;..\..\build\vs\pjproject-vs8-wm5-release-defaults.vsprops" 
    2534  
     2301                        Name="Release-Static|Win32" 
     2302                        ConfigurationType="4" 
     2303                        InheritedPropertySheets="..\..\build\vs\pjproject-vs8-release-static-defaults.vsprops;..\..\build\vs\pjproject-vs8-win32-release-defaults.vsprops" 
     2304                        UseOfMFC="0" 
    25352305                        ATLMinimizesCRunTimeLibraryUsage="false" 
    2536  
     2306                        CharacterSet="2" 
     2307                        > 
     2308                        <Tool 
     2309                                Name="VCPreBuildEventTool" 
     2310                        /> 
     2311                        <Tool 
     2312                                Name="VCCustomBuildTool" 
     2313                        /> 
     2314                        <Tool 
     2315                                Name="VCXMLDataGeneratorTool" 
     2316                        /> 
     2317                        <Tool 
     2318                                Name="VCWebServiceProxyGeneratorTool" 
     2319                        /> 
     2320                        <Tool 
     2321                                Name="VCMIDLTool" 
     2322                        /> 
     2323                        <Tool 
     2324                                Name="VCCLCompilerTool" 
     2325                                AdditionalIncludeDirectories="../include;../../pjlib/include;&quot;../../pjlib-util/include&quot;;../../pjnath/include;../../third_party/portaudio/include;../../third_party/speex/include;../../third_party/build/srtp;../../third_party/srtp/include;../../third_party/srtp/crypto/include;../..;&quot;$(DXSDK_DIR)include&quot;" 
     2326                                PreprocessorDefinitions="_LIB;" 
     2327                                PrecompiledHeaderFile="" 
     2328                        /> 
     2329                        <Tool 
     2330                                Name="VCManagedResourceCompilerTool" 
     2331                        /> 
     2332                        <Tool 
     2333                                Name="VCResourceCompilerTool" 
     2334                        /> 
     2335                        <Tool 
     2336                                Name="VCPreLinkEventTool" 
     2337                        /> 
     2338                        <Tool 
     2339                                Name="VCLibrarianTool" 
     2340                        /> 
     2341                        <Tool 
     2342                                Name="VCALinkTool" 
     2343                        /> 
     2344                        <Tool 
     2345                                Name="VCXDCMakeTool" 
     2346                        /> 
     2347                        <Tool 
     2348                                Name="VCBscMakeTool" 
     2349                        /> 
     2350                        <Tool 
     2351                                Name="VCFxCopTool" 
     2352                        /> 
     2353                        <Tool 
     2354                                Name="VCPostBuildEventTool" 
     2355                        /> 
     2356                </Configuration> 
     2357                <Configuration 
     2358                        Name="Release-Static|Windows Mobile 6 Standard SDK (ARMV4I)" 
     2359                        ConfigurationType="4" 
     2360                        InheritedPropertySheets="..\..\build\vs\pjproject-vs8-release-static-defaults.vsprops;..\..\build\vs\pjproject-vs8-wm6-release-defaults.vsprops" 
     2361                        ATLMinimizesCRunTimeLibraryUsage="false" 
    25372362                        CharacterSet="1" 
    2538  
    2539                         ConfigurationType="4" 
    25402363                        > 
    25412364                        <Tool 
     
    25562379                        <Tool 
    25572380                                Name="VCCLCompilerTool" 
    2558                                 PreprocessorDefinitions="_LIB;" 
    2559  
    25602381                                ExecutionBucket="7" 
    25612382                                AdditionalIncludeDirectories="../include,../../pjlib/include,../../pjlib-util/include,../../pjnath/include,../../third_party/portaudio/include,../../third_party/speex/include,../../third_party/build/srtp,../../third_party/srtp/include,../../third_party/srtp/crypto/include;../.." 
     2383                                PreprocessorDefinitions="_LIB;" 
    25622384                                PrecompiledHeaderFile="" 
    25632385                        /> 
     
    25732395                        <Tool 
    25742396                                Name="VCLibrarianTool" 
    2575                                 OutputFile="..\lib\$(ProjectName)-$(TargetCPU)-wm5sp-vc$(VSVer)-$(ConfigurationName).lib" 
    2576  
     2397                                OutputFile="..\lib\$(ProjectName)-$(TargetCPU)-wm6std-vc$(VSVer)-$(ConfigurationName).lib" 
    25772398                        /> 
    25782399                        <Tool 
     
    26012422                </Configuration> 
    26022423                <Configuration 
    2603                         Name="Debug|Windows Mobile 5.0 Smartphone SDK (ARMV4I)" 
    2604                         InheritedPropertySheets="..\..\build\vs\pjproject-vs8-debug-static-defaults.vsprops;..\..\build\vs\pjproject-vs8-wm5-common-defaults.vsprops" 
    2605  
     2424                        Name="Release-Static|Windows Mobile 6 Professional SDK (ARMV4I)" 
     2425                        ConfigurationType="4" 
     2426                        InheritedPropertySheets="..\..\build\vs\pjproject-vs8-release-static-defaults.vsprops;..\..\build\vs\pjproject-vs8-wm6-release-defaults.vsprops" 
    26062427                        ATLMinimizesCRunTimeLibraryUsage="false" 
    2607  
    26082428                        CharacterSet="1" 
    2609  
    2610                         ConfigurationType="4" 
    26112429                        > 
    26122430                        <Tool 
     
    26272445                        <Tool 
    26282446                                Name="VCCLCompilerTool" 
    2629                                 PreprocessorDefinitions="_LIB;" 
    2630  
    26312447                                ExecutionBucket="7" 
    26322448                                AdditionalIncludeDirectories="../include,../../pjlib/include,../../pjlib-util/include,../../pjnath/include,../../third_party/portaudio/include,../../third_party/speex/include,../../third_party/build/srtp,../../third_party/srtp/include,../../third_party/srtp/crypto/include;../.." 
     2449                                PreprocessorDefinitions="_LIB;" 
    26332450                                PrecompiledHeaderFile="" 
    26342451                        /> 
     
    26442461                        <Tool 
    26452462                                Name="VCLibrarianTool" 
    2646                                 OutputFile="..\lib\$(ProjectName)-$(TargetCPU)-wm5sp-vc$(VSVer)-$(ConfigurationName).lib" 
    2647  
     2463                                OutputFile="..\lib\$(ProjectName)-$(TargetCPU)-wm6pro-vc$(VSVer)-$(ConfigurationName).lib" 
    26482464                        /> 
    26492465                        <Tool 
     
    26722488                </Configuration> 
    26732489                <Configuration 
    2674                         Name="Debug-Static|Windows Mobile 5.0 Smartphone SDK (ARMV4I)" 
    2675                         InheritedPropertySheets="..\..\build\vs\pjproject-vs8-debug-static-defaults.vsprops;..\..\build\vs\pjproject-vs8-wm5-common-defaults.vsprops" 
    2676  
     2490                        Name="Release-Static|Pocket PC 2003 (ARMV4)" 
     2491                        ConfigurationType="4" 
     2492                        InheritedPropertySheets="..\..\build\vs\pjproject-vs8-release-static-defaults.vsprops;..\..\build\vs\pjproject-vs8-wm2003-release-defaults.vsprops" 
    26772493                        ATLMinimizesCRunTimeLibraryUsage="false" 
    2678  
    26792494                        CharacterSet="1" 
    2680  
    2681                         ConfigurationType="4" 
    26822495                        > 
    26832496                        <Tool 
     
    26982511                        <Tool 
    26992512                                Name="VCCLCompilerTool" 
    2700                                 PreprocessorDefinitions="_LIB;" 
    2701  
    27022513                                ExecutionBucket="7" 
    27032514                                AdditionalIncludeDirectories="../include,../../pjlib/include,../../pjlib-util/include,../../pjnath/include,../../third_party/portaudio/include,../../third_party/speex/include,../../third_party/build/srtp,../../third_party/srtp/include,../../third_party/srtp/crypto/include;../.." 
     2515                                PreprocessorDefinitions="_LIB;" 
    27042516                                PrecompiledHeaderFile="" 
    27052517                        /> 
     
    27152527                        <Tool 
    27162528                                Name="VCLibrarianTool" 
    2717                                 OutputFile="..\lib\$(ProjectName)-$(TargetCPU)-wm5sp-vc$(VSVer)-$(ConfigurationName).lib" 
    2718  
     2529                                OutputFile="..\lib\$(ProjectName)-$(TargetCPU)-wm2003ppc-vc$(VSVer)-$(ConfigurationName).lib" 
    27192530                        /> 
    27202531                        <Tool 
     
    27432554                </Configuration> 
    27442555                <Configuration 
    2745                         Name="Release-Dynamic|Windows Mobile 5.0 Smartphone SDK (ARMV4I)" 
    2746                         InheritedPropertySheets="..\..\build\vs\pjproject-vs8-release-dynamic-defaults.vsprops;..\..\build\vs\pjproject-vs8-wm5-release-defaults.vsprops" 
    2747  
     2556                        Name="Release-Static|Smartphone 2003 (ARMV4)" 
     2557                        ConfigurationType="4" 
     2558                        InheritedPropertySheets="..\..\build\vs\pjproject-vs8-release-static-defaults.vsprops;..\..\build\vs\pjproject-vs8-wm2003-release-defaults.vsprops" 
    27482559                        ATLMinimizesCRunTimeLibraryUsage="false" 
    2749  
    27502560                        CharacterSet="1" 
    2751  
    2752                         ConfigurationType="4" 
    27532561                        > 
    27542562                        <Tool 
     
    27692577                        <Tool 
    27702578                                Name="VCCLCompilerTool" 
    2771                                 PreprocessorDefinitions="_LIB;" 
    2772  
    27732579                                ExecutionBucket="7" 
    27742580                                AdditionalIncludeDirectories="../include,../../pjlib/include,../../pjlib-util/include,../../pjnath/include,../../third_party/portaudio/include,../../third_party/speex/include,../../third_party/build/srtp,../../third_party/srtp/include,../../third_party/srtp/crypto/include;../.." 
     2581                                PreprocessorDefinitions="_LIB;" 
    27752582                                PrecompiledHeaderFile="" 
    27762583                        /> 
     
    27862593                        <Tool 
    27872594                                Name="VCLibrarianTool" 
    2788                                 OutputFile="..\lib\$(ProjectName)-$(TargetCPU)-wm5sp-vc$(VSVer)-$(ConfigurationName).lib" 
    2789  
     2595                                OutputFile="..\lib\$(ProjectName)-$(TargetCPU)-wm2003sp-vc$(VSVer)-$(ConfigurationName).lib" 
    27902596                        /> 
    27912597                        <Tool 
     
    28142620                </Configuration> 
    28152621                <Configuration 
    2816                         Name="Debug-Dynamic|Windows Mobile 5.0 Smartphone SDK (ARMV4I)" 
    2817                         InheritedPropertySheets="..\..\build\vs\pjproject-vs8-debug-dynamic-defaults.vsprops;..\..\build\vs\pjproject-vs8-wm5-common-defaults.vsprops" 
    2818  
     2622                        Name="Release-Static|Windows Mobile 5.0 Pocket PC SDK (ARMV4I)" 
     2623                        ConfigurationType="4" 
     2624                        InheritedPropertySheets="..\..\build\vs\pjproject-vs8-release-static-defaults.vsprops;..\..\build\vs\pjproject-vs8-wm5-release-defaults.vsprops" 
    28192625                        ATLMinimizesCRunTimeLibraryUsage="false" 
    2820  
    28212626                        CharacterSet="1" 
    2822  
    2823                         ConfigurationType="4" 
    28242627                        > 
    28252628                        <Tool 
     
    28402643                        <Tool 
    28412644                                Name="VCCLCompilerTool" 
    2842                                 PreprocessorDefinitions="_LIB;" 
    2843  
    28442645                                ExecutionBucket="7" 
    28452646                                AdditionalIncludeDirectories="../include,../../pjlib/include,../../pjlib-util/include,../../pjnath/include,../../third_party/portaudio/include,../../third_party/speex/include,../../third_party/build/srtp,../../third_party/srtp/include,../../third_party/srtp/crypto/include;../.." 
     2647                                PreprocessorDefinitions="_LIB;" 
    28462648                                PrecompiledHeaderFile="" 
    28472649                        /> 
     
    28572659                        <Tool 
    28582660                                Name="VCLibrarianTool" 
    2859                                 OutputFile="..\lib\$(ProjectName)-$(TargetCPU)-wm5sp-vc$(VSVer)-$(ConfigurationName).lib" 
    2860  
     2661                                OutputFile="..\lib\$(ProjectName)-$(TargetCPU)-wm5ppc-vc$(VSVer)-$(ConfigurationName).lib" 
    28612662                        /> 
    28622663                        <Tool 
     
    28862687                <Configuration 
    28872688                        Name="Release-Static|Windows Mobile 5.0 Smartphone SDK (ARMV4I)" 
     2689                        ConfigurationType="4" 
    28882690                        InheritedPropertySheets="..\..\build\vs\pjproject-vs8-release-static-defaults.vsprops;..\..\build\vs\pjproject-vs8-wm5-release-defaults.vsprops" 
    2889  
    28902691                        ATLMinimizesCRunTimeLibraryUsage="false" 
    2891  
    28922692                        CharacterSet="1" 
    2893  
    2894                         ConfigurationType="4" 
    28952693                        > 
    28962694                        <Tool 
     
    29112709                        <Tool 
    29122710                                Name="VCCLCompilerTool" 
    2913                                 PreprocessorDefinitions="_LIB;" 
    2914  
    29152711                                ExecutionBucket="7" 
    29162712                                AdditionalIncludeDirectories="../include,../../pjlib/include,../../pjlib-util/include,../../pjnath/include,../../third_party/portaudio/include,../../third_party/speex/include,../../third_party/build/srtp,../../third_party/srtp/include,../../third_party/srtp/crypto/include;../.." 
     2713                                PreprocessorDefinitions="_LIB;" 
    29172714                                PrecompiledHeaderFile="" 
    29182715                        /> 
     
    29292726                                Name="VCLibrarianTool" 
    29302727                                OutputFile="..\lib\$(ProjectName)-$(TargetCPU)-wm5sp-vc$(VSVer)-$(ConfigurationName).lib" 
    2931  
    29322728                        /> 
    29332729                        <Tool 
     
    47944590                        </File> 
    47954591                        <File 
     4592                                RelativePath="..\src\pjmedia\sync_port.c" 
     4593                                > 
     4594                        </File> 
     4595                        <File 
    47964596                                RelativePath="..\src\pjmedia\tonegen.c" 
    47974597                                > 
     
    53035103                        </File> 
    53045104                        <File 
     5105                                RelativePath="..\include\pjmedia\sync_port.h" 
     5106                                > 
     5107                        </File> 
     5108                        <File 
    53055109                                RelativePath="..\include\pjmedia\tonegen.h" 
    53065110                                > 
  • pjproject/trunk/pjmedia/src/pjmedia/conference.c

    r2728 r2747  
    237237    unsigned              samples_per_frame;    /**< Samples per frame.     */ 
    238238    unsigned              bits_per_sample;      /**< Bits per sample.       */ 
     239    pj_int16_t           *master_port_buf; 
    239240}; 
    240241 
     
    458459 
    459460 
    460     status = create_pasv_port(conf, pool, &name, NULL, &conf_port); 
     461    status = create_conf_port(conf, pool, &name, NULL, &conf_port); 
    461462    if (status != PJ_SUCCESS) 
    462463        return status; 
     
    557558    conf->master_port = PJ_POOL_ZALLOC_T(pool, pjmedia_port); 
    558559    PJ_ASSERT_RETURN(conf->master_port, PJ_ENOMEM); 
     560 
     561    conf->master_port_buf = (pj_int16_t*) 
     562                            pj_pool_zalloc(pool, conf->samples_per_frame<<1); 
     563    PJ_ASSERT_RETURN(conf->master_port_buf, PJ_ENOMEM); 
    559564     
    560565    pjmedia_port_info_init(&conf->master_port->info, &name, SIGNATURE, 
     
    10521057 
    10531058        /* if source port is passive port and has no listener, reset delaybuf */ 
    1054         if (src_port->delay_buf && src_port->listener_cnt == 0) 
    1055             pjmedia_delay_buf_reset(src_port->delay_buf); 
     1059        if (src_port->listener_cnt == 0) { 
     1060            if (src_port->delay_buf) 
     1061                pjmedia_delay_buf_reset(src_port->delay_buf); 
     1062            if (src_port->port == NULL) 
     1063                pjmedia_zero_samples(conf->master_port_buf,  
     1064                                     conf->samples_per_frame); 
     1065        } 
    10561066    } 
    10571067 
     
    18421852 
    18431853        /* Get frame from this port. 
     1854         * For port 0 (master port), get the frame from master_port_buf. 
    18441855         * For passive ports, get the frame from the delay_buf. 
    18451856         * For other ports, get the frame from the port.  
    18461857         */ 
    1847         if (conf_port->delay_buf != NULL) { 
     1858        if (conf_port->port == NULL) { 
     1859 
     1860            pjmedia_copy_samples((pj_int16_t*)frame->buf, conf->master_port_buf, 
     1861                                 conf->samples_per_frame); 
     1862 
     1863        } else if (conf_port->delay_buf != NULL) { 
     1864 
    18481865            pj_status_t status; 
    18491866         
     
    20552072    pjmedia_conf *conf = (pjmedia_conf*) this_port->port_data.pdata; 
    20562073    struct conf_port *port = conf->ports[this_port->port_data.ldata]; 
    2057     pj_status_t status; 
    20582074 
    20592075    /* Check for correct size. */ 
     
    20622078                      PJMEDIA_ENCSAMPLESPFRAME); 
    20632079 
    2064     /* Check existance of delay_buf instance */ 
    2065     PJ_ASSERT_RETURN( port->delay_buf, PJ_EBUG ); 
    2066  
    20672080    /* Skip if this port is muted/disabled. */ 
    20682081    if (port->rx_setting != PJMEDIA_PORT_ENABLE) { 
     
    20752088    } 
    20762089 
    2077     status = pjmedia_delay_buf_put(port->delay_buf, (pj_int16_t*)frame->buf); 
    2078  
    2079     return status; 
     2090    pjmedia_copy_samples(conf->master_port_buf, (pj_int16_t*)frame->buf, 
     2091                         conf->samples_per_frame); 
     2092 
     2093    return PJ_SUCCESS; 
    20802094} 
    20812095 
  • pjproject/trunk/pjmedia/src/pjmedia/echo_common.c

    r2728 r2747  
    2020 
    2121#include <pjmedia/echo.h> 
    22 #include <pjmedia/delaybuf.h> 
    2322#include <pjmedia/errno.h> 
    2423#include <pj/assert.h> 
     
    5150    struct frame     lat_buf;       /* Frame queue for delayed playback     */ 
    5251    struct frame     lat_free;      /* Free frame list.                     */ 
    53  
    54     pjmedia_delay_buf   *delay_buf; 
    5552}; 
    5653 
     
    147144    pjmedia_echo_state *ec; 
    148145    pj_status_t status; 
     146    unsigned i; 
    149147 
    150148    /* Create new pool and instantiate and init the EC */ 
     
    192190    /* Create latency buffers */ 
    193191    ptime = samples_per_frame * 1000 / clock_rate; 
    194     if (latency_ms == 0) { 
    195         /* Give at least one frame delay to simplify programming */ 
     192    /* Give at least one frame delay to simplify programming */ 
     193    if (latency_ms < ptime) { 
    196194        latency_ms = ptime; 
    197195    } 
    198196    ec->lat_target_cnt = latency_ms / ptime; 
    199     if (ec->lat_target_cnt != 0) { 
    200         unsigned i; 
    201         for (i=0; i < ec->lat_target_cnt; ++i)  { 
    202             struct frame *frm; 
    203  
    204             frm = (struct frame*) pj_pool_alloc(pool, (samples_per_frame<<1) + 
    205                                                       sizeof(struct frame)); 
    206             pj_list_push_back(&ec->lat_free, frm); 
    207         } 
    208     } else { 
    209         ec->lat_ready = PJ_TRUE; 
    210     } 
    211  
    212     /* Create delay buffer to compensate drifts */ 
    213     status = pjmedia_delay_buf_create(ec->pool, ec->obj_name, clock_rate,  
    214                                       samples_per_frame, channel_count, 
    215                                       (PJMEDIA_SOUND_BUFFER_COUNT+1) * ptime, 
    216                                       0, &ec->delay_buf); 
    217     if (status != PJ_SUCCESS) { 
    218         pj_pool_release(pool); 
    219         return status; 
     197    for (i=0; i < ec->lat_target_cnt; ++i)  { 
     198        struct frame *frm; 
     199 
     200        frm = (struct frame*) pj_pool_alloc(pool, (samples_per_frame<<1) + 
     201                                                  sizeof(struct frame)); 
     202        pj_list_push_back(&ec->lat_free, frm); 
    220203    } 
    221204 
     
    241224    (*echo->op->ec_destroy)(echo->state); 
    242225 
    243     if (echo->delay_buf) { 
    244         pjmedia_delay_buf_destroy(echo->delay_buf); 
    245         echo->delay_buf = NULL; 
    246     } 
    247  
    248226    pj_pool_release(echo->pool); 
    249227    return PJ_SUCCESS; 
     
    263241    } 
    264242    echo->lat_ready = PJ_FALSE; 
    265     pjmedia_delay_buf_reset(echo->delay_buf); 
    266243    echo->op->ec_reset(echo->state); 
    267244    return PJ_SUCCESS; 
     
    275252                                           pj_int16_t *play_frm ) 
    276253{ 
    277     if (!echo->lat_ready) { 
     254    struct frame *frm; 
     255 
     256    if (echo->lat_ready) { 
     257        frm = echo->lat_buf.next; 
     258        pj_list_erase(frm); 
     259    } else { 
    278260        /* We've not built enough latency in the buffer, so put this frame 
    279261         * in the latency buffer list. 
    280262         */ 
    281         struct frame *frm; 
    282  
     263        frm = echo->lat_free.prev; 
     264        pj_list_erase(frm); 
    283265        if (pj_list_empty(&echo->lat_free)) { 
    284266            echo->lat_ready = PJ_TRUE; 
    285267            PJ_LOG(5,(echo->obj_name, "Latency bufferring complete")); 
    286             pjmedia_delay_buf_put(echo->delay_buf, play_frm); 
    287             return PJ_SUCCESS; 
    288268        } 
    289              
    290         frm = echo->lat_free.prev; 
    291         pj_list_erase(frm); 
    292  
    293         pjmedia_copy_samples(frm->buf, play_frm, echo->samples_per_frame); 
    294         pj_list_push_back(&echo->lat_buf, frm); 
    295  
    296     } else { 
    297         /* Latency buffer is ready (full), so we put this frame in the 
    298          * delay buffer. 
    299          */ 
    300         pjmedia_delay_buf_put(echo->delay_buf, play_frm); 
    301     } 
     269    } 
     270 
     271    /* Put the incoming frame into the end of latency buffer */ 
     272    pjmedia_copy_samples(frm->buf, play_frm, echo->samples_per_frame); 
     273    pj_list_push_back(&echo->lat_buf, frm); 
    302274 
    303275    return PJ_SUCCESS; 
     
    314286{ 
    315287    struct frame *oldest_frm; 
    316     pj_status_t status, rc; 
     288    pj_status_t status; 
    317289 
    318290    if (!echo->lat_ready) { 
     
    324296    /* Retrieve oldest frame from the latency buffer */ 
    325297    oldest_frm = echo->lat_buf.next; 
    326     pj_list_erase(oldest_frm); 
    327298 
    328299    /* Cancel echo using this reference frame */ 
     
    330301                                 options, NULL); 
    331302 
    332     /* Move one frame from delay buffer to the latency buffer. */ 
    333     rc = pjmedia_delay_buf_get(echo->delay_buf, oldest_frm->buf); 
    334     if (rc != PJ_SUCCESS) { 
    335         /* Ooops.. no frame! */ 
    336         PJ_LOG(5,(echo->obj_name,  
    337                   "No frame from delay buffer. This will upset EC later")); 
    338         pjmedia_zero_samples(oldest_frm->buf, echo->samples_per_frame); 
    339     } 
    340     pj_list_push_back(&echo->lat_buf, oldest_frm); 
    341      
    342303    return status; 
    343304} 
  • pjproject/trunk/pjmedia/src/pjmedia/sound_port.c

    r2685 r2747  
    2020#include <pjmedia/sound_port.h> 
    2121#include <pjmedia/alaw_ulaw.h> 
    22 #include <pjmedia/delaybuf.h> 
    23 #include <pjmedia/echo.h> 
     22#include <pjmedia/echo_port.h> 
    2423#include <pjmedia/errno.h> 
     24#include <pjmedia/sync_port.h> 
    2525#include <pj/assert.h> 
    2626#include <pj/log.h> 
     
    2929 
    3030#define AEC_TAIL            128     /* default AEC length in ms */ 
    31 #define AEC_SUSPEND_LIMIT   5       /* seconds of no activity   */ 
    3231 
    3332#define THIS_FILE           "sound_port.c" 
    3433 
    35 //#define TEST_OVERFLOW_UNDERFLOW 
    36  
    3734struct pjmedia_snd_port 
    3835{ 
     36    pj_pool_t           *pool; 
    3937    int                  rec_id; 
    4038    int                  play_id; 
     
    4442    pjmedia_dir          dir; 
    4543    pjmedia_port        *port; 
     44    pjmedia_port        *dn_port; 
     45    pjmedia_port        *sync_port; 
    4646 
    4747    unsigned             clock_rate; 
     
    5151 
    5252    /* software ec */ 
    53     pjmedia_echo_state  *ec_state; 
     53    pjmedia_port        *echo_port; 
    5454    unsigned             ec_options; 
    5555    unsigned             ec_tail_len; 
    56     pj_bool_t            ec_suspended; 
    57     unsigned             ec_suspend_count; 
    58     unsigned             ec_suspend_limit; 
    5956}; 
    6057 
     
    7067    pj_status_t status; 
    7168 
    72     port = snd_port->port; 
     69    port = snd_port->dn_port; 
    7370    if (port == NULL) 
    7471        goto no_frame; 
     
    8380    /* Must supply the required samples */ 
    8481    pj_assert(frame->size == required_size); 
    85  
    86     if (snd_port->ec_state) { 
    87         if (snd_port->ec_suspended) { 
    88             snd_port->ec_suspended = PJ_FALSE; 
    89             //pjmedia_echo_state_reset(snd_port->ec_state); 
    90             PJ_LOG(4,(THIS_FILE, "EC activated")); 
    91         } 
    92         snd_port->ec_suspend_count = 0; 
    93         pjmedia_echo_playback(snd_port->ec_state, (pj_int16_t*)frame->buf); 
    94     } 
    9582 
    9683 
     
    10289    pj_bzero(frame->buf, frame->size); 
    10390 
    104     if (snd_port->ec_state && !snd_port->ec_suspended) { 
    105         ++snd_port->ec_suspend_count; 
    106         if (snd_port->ec_suspend_count > snd_port->ec_suspend_limit) { 
    107             snd_port->ec_suspended = PJ_TRUE; 
    108             PJ_LOG(4,(THIS_FILE, "EC suspended because of inactivity")); 
    109         } 
    110         if (snd_port->ec_state) { 
    111             /* To maintain correct delay in EC */ 
    112             pjmedia_echo_playback(snd_port->ec_state, (pj_int16_t*)frame->buf); 
    113         } 
    114     } 
    115  
    11691    return PJ_SUCCESS; 
    11792} 
     
    12398 */ 
    12499static pj_status_t rec_cb(void *user_data, pjmedia_frame *frame) 
     100{ 
     101    pjmedia_snd_port *snd_port = (pjmedia_snd_port*) user_data; 
     102    pjmedia_port *port; 
     103 
     104    port = snd_port->dn_port; 
     105    if (port == NULL) 
     106        return PJ_SUCCESS; 
     107 
     108    pjmedia_port_put_frame(port, frame); 
     109 
     110    return PJ_SUCCESS; 
     111} 
     112 
     113/* 
     114 * The callback called by sound player when it needs more samples to be 
     115 * played. This version is for non-PCM data. 
     116 */ 
     117static pj_status_t play_cb_ext(void *user_data, pjmedia_frame *frame) 
     118{ 
     119    pjmedia_snd_port *snd_port = (pjmedia_snd_port*) user_data; 
     120    pjmedia_port *port = snd_port->port; 
     121 
     122    if (port == NULL) { 
     123        frame->type = PJMEDIA_FRAME_TYPE_NONE; 
     124        return PJ_SUCCESS; 
     125    } 
     126 
     127    pjmedia_port_get_frame(port, frame); 
     128 
     129    return PJ_SUCCESS; 
     130} 
     131 
     132 
     133/* 
     134 * The callback called by sound recorder when it has finished capturing a 
     135 * frame. This version is for non-PCM data. 
     136 */ 
     137static pj_status_t rec_cb_ext(void *user_data, pjmedia_frame *frame) 
    125138{ 
    126139    pjmedia_snd_port *snd_port = (pjmedia_snd_port*) user_data; 
     
    131144        return PJ_SUCCESS; 
    132145 
    133     /* Cancel echo */ 
    134     if (snd_port->ec_state && !snd_port->ec_suspended) { 
    135         pjmedia_echo_capture(snd_port->ec_state, (pj_int16_t*) frame->buf, 0); 
    136     } 
    137  
    138     pjmedia_port_put_frame(port, frame); 
    139  
    140     return PJ_SUCCESS; 
    141 } 
    142  
    143 /* 
    144  * The callback called by sound player when it needs more samples to be 
    145  * played. This version is for non-PCM data. 
    146  */ 
    147 static pj_status_t play_cb_ext(void *user_data, pjmedia_frame *frame) 
    148 { 
    149     pjmedia_snd_port *snd_port = (pjmedia_snd_port*) user_data; 
    150     pjmedia_port *port = snd_port->port; 
    151  
    152     if (port == NULL) { 
    153         frame->type = PJMEDIA_FRAME_TYPE_NONE; 
    154         return PJ_SUCCESS; 
    155     } 
    156  
    157     pjmedia_port_get_frame(port, frame); 
    158  
    159     return PJ_SUCCESS; 
    160 } 
    161  
    162  
    163 /* 
    164  * The callback called by sound recorder when it has finished capturing a 
    165  * frame. This version is for non-PCM data. 
    166  */ 
    167 static pj_status_t rec_cb_ext(void *user_data, pjmedia_frame *frame) 
    168 { 
    169     pjmedia_snd_port *snd_port = (pjmedia_snd_port*) user_data; 
    170     pjmedia_port *port; 
    171  
    172     port = snd_port->port; 
    173     if (port == NULL) 
    174         return PJ_SUCCESS; 
    175  
    176146    pjmedia_port_put_frame(port, frame); 
    177147 
     
    183153 * This may be called even when the sound stream has already been started. 
    184154 */ 
    185 static pj_status_t start_sound_device( pj_pool_t *pool, 
    186                                        pjmedia_snd_port *snd_port ) 
     155static pj_status_t start_sound_device( pjmedia_snd_port *snd_port ) 
    187156{ 
    188157    pjmedia_aud_rec_cb snd_rec_cb; 
    189158    pjmedia_aud_play_cb snd_play_cb; 
    190     pjmedia_aud_param param_copy; 
     159    pjmedia_aud_param *param; 
    191160    pj_status_t status; 
    192161 
     
    200169                     PJ_EBUG); 
    201170 
     171    param = &snd_port->aud_param; 
     172 
    202173    /* Get device caps */ 
    203     if (snd_port->aud_param.dir & PJMEDIA_DIR_CAPTURE) { 
     174    if (param->dir & PJMEDIA_DIR_CAPTURE) { 
    204175        pjmedia_aud_dev_info dev_info; 
    205176 
    206         status = pjmedia_aud_dev_get_info(snd_port->aud_param.rec_id,  
    207                                           &dev_info); 
     177        status = pjmedia_aud_dev_get_info(param->rec_id, &dev_info); 
    208178        if (status != PJ_SUCCESS) 
    209179            return status; 
     
    214184    } 
    215185 
    216     /* Process EC settings */ 
    217     pj_memcpy(&param_copy, &snd_port->aud_param, sizeof(param_copy)); 
    218     if (param_copy.flags & PJMEDIA_AUD_DEV_CAP_EC) { 
    219         /* EC is wanted */ 
    220         if (snd_port->aud_caps & PJMEDIA_AUD_DEV_CAP_EC) { 
    221             /* Device supports EC */ 
    222             /* Nothing to do */ 
    223         } else { 
    224             /* Device doesn't support EC, remove EC settings from 
    225              * device parameters 
    226              */ 
    227             param_copy.flags &= ~(PJMEDIA_AUD_DEV_CAP_EC | 
    228                                   PJMEDIA_AUD_DEV_CAP_EC_TAIL); 
    229         } 
    230     } 
    231  
    232186    /* Use different callback if format is not PCM */ 
    233     if (snd_port->aud_param.ext_fmt.id == PJMEDIA_FORMAT_L16) { 
     187    if (param->ext_fmt.id == PJMEDIA_FORMAT_L16) { 
    234188        snd_rec_cb = &rec_cb; 
    235189        snd_play_cb = &play_cb; 
     
    240194 
    241195    /* Open the device */ 
    242     status = pjmedia_aud_stream_create(&param_copy, 
     196    status = pjmedia_aud_stream_create(param, 
    243197                                       snd_rec_cb, 
    244198                                       snd_play_cb, 
     
    248202    if (status != PJ_SUCCESS) 
    249203        return status; 
    250  
    251     /* Inactivity limit before EC is suspended. */ 
    252     snd_port->ec_suspend_limit = AEC_SUSPEND_LIMIT * 
    253                                  (snd_port->clock_rate /  
    254                                   snd_port->samples_per_frame); 
    255  
    256     /* Create software EC if parameter specifies EC but device  
    257      * doesn't support EC. Only do this if the format is PCM! 
    258      */ 
    259     if ((snd_port->aud_param.flags & PJMEDIA_AUD_DEV_CAP_EC) && 
    260         (snd_port->aud_caps & PJMEDIA_AUD_DEV_CAP_EC)==0 && 
    261         param_copy.ext_fmt.id == PJMEDIA_FORMAT_PCM) 
    262     { 
    263         if ((snd_port->aud_param.flags & PJMEDIA_AUD_DEV_CAP_EC_TAIL)==0) { 
    264             snd_port->aud_param.flags |= PJMEDIA_AUD_DEV_CAP_EC_TAIL; 
    265             snd_port->aud_param.ec_tail_ms = AEC_TAIL; 
    266             PJ_LOG(4,(THIS_FILE, "AEC tail is set to default %u ms", 
    267                                  snd_port->aud_param.ec_tail_ms)); 
    268         } 
    269              
    270         status = pjmedia_snd_port_set_ec(snd_port, pool,  
    271                                          snd_port->aud_param.ec_tail_ms, 0); 
    272         if (status != PJ_SUCCESS) { 
    273             pjmedia_aud_stream_destroy(snd_port->aud_stream); 
    274             snd_port->aud_stream = NULL; 
    275             return status; 
    276         } 
    277     } 
    278204 
    279205    /* Start sound stream. */ 
     
    300226        pjmedia_aud_stream_destroy(snd_port->aud_stream); 
    301227        snd_port->aud_stream = NULL; 
    302     } 
    303  
    304     /* Destroy AEC */ 
    305     if (snd_port->ec_state) { 
    306         pjmedia_echo_destroy(snd_port->ec_state); 
    307         snd_port->ec_state = NULL; 
    308228    } 
    309229 
     
    421341    PJ_ASSERT_RETURN(pool && prm && p_port, PJ_EINVAL); 
    422342 
     343    pool = pj_pool_create(pool->factory, pool->obj_name, 256, 256, NULL); 
    423344    snd_port = PJ_POOL_ZALLOC_T(pool, pjmedia_snd_port); 
    424345    PJ_ASSERT_RETURN(snd_port, PJ_ENOMEM); 
    425346 
     347    snd_port->pool = pool; 
    426348    snd_port->dir = prm->dir; 
    427349    snd_port->rec_id = prm->rec_id; 
     
    438360     * empty signal. 
    439361     */ 
    440     status = start_sound_device( pool, snd_port ); 
     362    status = start_sound_device( snd_port ); 
    441363    if (status != PJ_SUCCESS) { 
    442364        pjmedia_snd_port_destroy(snd_port); 
     
    454376PJ_DEF(pj_status_t) pjmedia_snd_port_destroy(pjmedia_snd_port *snd_port) 
    455377{ 
     378    pj_status_t status; 
     379 
    456380    PJ_ASSERT_RETURN(snd_port, PJ_EINVAL); 
    457381 
    458     return stop_sound_device(snd_port); 
     382    /* Stop sound port */ 
     383    status = stop_sound_device(snd_port); 
     384 
     385    /* Disconnect sound port */ 
     386    pjmedia_snd_port_disconnect(snd_port); 
     387 
     388    pj_pool_release(snd_port->pool); 
     389 
     390    return status; 
    459391} 
    460392 
     
    552484 
    553485        /* Destroy AEC */ 
    554         if (snd_port->ec_state) { 
    555             pjmedia_echo_destroy(snd_port->ec_state); 
    556             snd_port->ec_state = NULL; 
     486        if (snd_port->echo_port) { 
     487            pjmedia_port_destroy(snd_port->echo_port); 
     488            snd_port->echo_port = NULL; 
    557489        } 
    558490 
     
    565497            //     snd_port->clock_rate; 
    566498            delay_ms = prm.output_latency_ms; 
    567             status = pjmedia_echo_create2(pool, snd_port->clock_rate,  
    568                                           snd_port->channel_count, 
    569                                           snd_port->samples_per_frame,  
    570                                           tail_ms, delay_ms, 
    571                                           options, &snd_port->ec_state); 
     499            status = pjmedia_echo_port_create(pool, snd_port->port, 
     500                                              tail_ms, delay_ms, 
     501                                              options, &snd_port->echo_port); 
    572502            if (status != PJ_SUCCESS) 
    573                 snd_port->ec_state = NULL; 
    574             else 
    575                 snd_port->ec_suspended = PJ_FALSE; 
     503                snd_port->echo_port = NULL; 
    576504        } else { 
    577505            PJ_LOG(4,(THIS_FILE, "Echo canceller is now disabled in the " 
     
    623551    } else { 
    624552        /* We use software EC */ 
    625         *p_length =  snd_port->ec_state ? snd_port->ec_tail_len : 0; 
     553        *p_length =  snd_port->echo_port ? snd_port->ec_tail_len : 0; 
    626554    } 
    627555    return PJ_SUCCESS; 
     
    636564{ 
    637565    pjmedia_port_info *pinfo; 
     566    pjmedia_aud_param *param; 
     567    pjmedia_sync_param sync_param; 
     568    pj_status_t status; 
    638569 
    639570    PJ_ASSERT_RETURN(snd_port && port, PJ_EINVAL); 
     
    657588    /* Port is okay. */ 
    658589    snd_port->port = port; 
     590 
     591    /* Create software EC if parameter specifies EC but device  
     592     * doesn't support EC. Only do this if the format is PCM! 
     593     */ 
     594    param = &snd_port->aud_param; 
     595    if ((param->flags & PJMEDIA_AUD_DEV_CAP_EC) && 
     596        (snd_port->aud_caps & PJMEDIA_AUD_DEV_CAP_EC)==0 && 
     597        param->ext_fmt.id == PJMEDIA_FORMAT_PCM) 
     598    { 
     599        if ((param->flags & PJMEDIA_AUD_DEV_CAP_EC_TAIL)==0) { 
     600            param->flags |= PJMEDIA_AUD_DEV_CAP_EC_TAIL; 
     601            param->ec_tail_ms = AEC_TAIL; 
     602            PJ_LOG(4,(THIS_FILE, "AEC tail is set to default %u ms", 
     603                                 param->ec_tail_ms)); 
     604        } 
     605             
     606        status = pjmedia_snd_port_set_ec(snd_port, snd_port->pool,  
     607                                         param->ec_tail_ms, 0); 
     608        if (status != PJ_SUCCESS) 
     609            return status; 
     610    } 
     611 
     612    /* Create sync port */ 
     613    pj_bzero(&sync_param, sizeof(sync_param)); 
     614    sync_param.options = PJMEDIA_SYNC_DONT_DESTROY_DN; 
     615    status = pjmedia_sync_port_create(snd_port->pool,  
     616                                      (snd_port->echo_port? 
     617                                       snd_port->echo_port:snd_port->port), 
     618                                      &sync_param, &snd_port->sync_port); 
     619    if (status != PJ_SUCCESS) 
     620        return status; 
     621 
     622    /* Update down port of sound port */ 
     623    snd_port->dn_port = snd_port->sync_port; 
     624 
    659625    return PJ_SUCCESS; 
    660626} 
     
    679645 
    680646    snd_port->port = NULL; 
    681  
    682     return PJ_SUCCESS; 
    683 } 
    684  
    685  
     647    snd_port->dn_port = NULL; 
     648 
     649    /* Destroy sync port */ 
     650    if (snd_port->sync_port) { 
     651        pjmedia_port_destroy(snd_port->sync_port); 
     652        snd_port->sync_port = NULL; 
     653    } 
     654 
     655    /* Destroy EC port */ 
     656    if (snd_port->echo_port) { 
     657        pjmedia_port_destroy(snd_port->echo_port); 
     658        snd_port->echo_port = NULL; 
     659        snd_port->ec_tail_len = 0; 
     660        snd_port->ec_options = 0; 
     661    } 
     662 
     663    return PJ_SUCCESS; 
     664} 
     665 
     666 
Note: See TracChangeset for help on using the changeset viewer.