[Freeswitch-svn] [commit] r11049 - in freeswitch/trunk/libs: portaudio/src/os/win win32/flite win32/pocketsphinx win32/sphinxbase

FreeSWITCH SVN mikej at freeswitch.org
Thu Jan 1 16:55:27 PST 2009


Author: mikej
Date: Thu Jan  1 19:55:26 2009
New Revision: 11049

Log:
warnings cleanup

Modified:
   freeswitch/trunk/libs/portaudio/src/os/win/pa_win_wdmks_utils.c
   freeswitch/trunk/libs/portaudio/src/os/win/pa_x86_plain_converters.c
   freeswitch/trunk/libs/win32/flite/flite.2008.vcproj
   freeswitch/trunk/libs/win32/pocketsphinx/pocketsphinx.2008.vcproj
   freeswitch/trunk/libs/win32/sphinxbase/sphinxbase.2008.vcproj

Modified: freeswitch/trunk/libs/portaudio/src/os/win/pa_win_wdmks_utils.c
==============================================================================
--- freeswitch/trunk/libs/portaudio/src/os/win/pa_win_wdmks_utils.c	(original)
+++ freeswitch/trunk/libs/portaudio/src/os/win/pa_win_wdmks_utils.c	Thu Jan  1 19:55:26 2009
@@ -185,7 +185,8 @@
 int PaWin_WDMKS_QueryFilterMaximumChannelCount( void *wcharDevicePath, int isInput )
 {
     HANDLE deviceHandle;
-    int pinCount, pinId, i;
+    int pinCount, pinId;
+	ULONG i;
     int result = 0;
     KSPIN_DATAFLOW requiredDataflowDirection = (isInput ? KSPIN_DATAFLOW_OUT : KSPIN_DATAFLOW_IN );
     

Modified: freeswitch/trunk/libs/portaudio/src/os/win/pa_x86_plain_converters.c
==============================================================================
--- freeswitch/trunk/libs/portaudio/src/os/win/pa_x86_plain_converters.c	(original)
+++ freeswitch/trunk/libs/portaudio/src/os/win/pa_x86_plain_converters.c	Thu Jan  1 19:55:26 2009
@@ -124,7 +124,7 @@
 
 #define PA_DITHER_BITS_   (15)
 /* Multiply by PA_FLOAT_DITHER_SCALE_ to get a float between -2.0 and +1.99999 */
-#define PA_FLOAT_DITHER_SCALE_  (1.0 / ((1<<PA_DITHER_BITS_)-1))
+#define PA_FLOAT_DITHER_SCALE_  (1.0f / ((1<<PA_DITHER_BITS_)-1))
 static const float const_float_dither_scale_ = PA_FLOAT_DITHER_SCALE_;
 #define PA_DITHER_SHIFT_  ((32 - PA_DITHER_BITS_) + 1)
 

Modified: freeswitch/trunk/libs/win32/flite/flite.2008.vcproj
==============================================================================
--- freeswitch/trunk/libs/win32/flite/flite.2008.vcproj	(original)
+++ freeswitch/trunk/libs/win32/flite/flite.2008.vcproj	Thu Jan  1 19:55:26 2009
@@ -45,7 +45,7 @@
 				MinimalRebuild="true"
 				BasicRuntimeChecks="3"
 				RuntimeLibrary="3"
-				WarningLevel="3"
+				WarningLevel="0"
 				DebugInformationFormat="4"
 			/>
 			<Tool
@@ -108,7 +108,7 @@
 				MinimalRebuild="true"
 				RuntimeLibrary="2"
 				EnableFunctionLevelLinking="true"
-				WarningLevel="3"
+				WarningLevel="0"
 				DebugInformationFormat="3"
 			/>
 			<Tool
@@ -127,9 +127,6 @@
 				Name="VCALinkTool"
 			/>
 			<Tool
-				Name="VCManifestTool"
-			/>
-			<Tool
 				Name="VCXDCMakeTool"
 			/>
 			<Tool
@@ -139,9 +136,6 @@
 				Name="VCFxCopTool"
 			/>
 			<Tool
-				Name="VCAppVerifierTool"
-			/>
-			<Tool
 				Name="VCPostBuildEventTool"
 			/>
 		</Configuration>
@@ -721,15 +715,15 @@
 				>
 			</File>
 			<File
-				RelativePath="..\..\flite-1.3.99\lang\cmu_us_kal\voxdefs.h"
+				RelativePath="..\..\flite-1.3.99\lang\cmu_us_kal16\voxdefs.h"
 				>
 			</File>
 			<File
-				RelativePath="..\..\flite-1.3.99\lang\cmu_us_kal16\voxdefs.h"
+				RelativePath="..\..\flite-1.3.99\lang\cmu_time_awb\voxdefs.h"
 				>
 			</File>
 			<File
-				RelativePath="..\..\flite-1.3.99\lang\cmu_time_awb\voxdefs.h"
+				RelativePath="..\..\flite-1.3.99\lang\cmu_us_kal\voxdefs.h"
 				>
 			</File>
 		</Filter>
@@ -742,4 +736,4 @@
 	</Files>
 	<Globals>
 	</Globals>
-</VisualStudioProject>
\ No newline at end of file
+</VisualStudioProject>

Modified: freeswitch/trunk/libs/win32/pocketsphinx/pocketsphinx.2008.vcproj
==============================================================================
--- freeswitch/trunk/libs/win32/pocketsphinx/pocketsphinx.2008.vcproj	(original)
+++ freeswitch/trunk/libs/win32/pocketsphinx/pocketsphinx.2008.vcproj	Thu Jan  1 19:55:26 2009
@@ -59,7 +59,7 @@
 				AssemblerListingLocation=".\Release/"
 				ObjectFile=".\Release/"
 				ProgramDataBaseFileName=".\Release/"
-				WarningLevel="3"
+				WarningLevel="0"
 				SuppressStartupBanner="true"
 			/>
 			<Tool
@@ -145,7 +145,7 @@
 				AssemblerListingLocation=".\Debug/"
 				ObjectFile=".\Debug/"
 				ProgramDataBaseFileName=".\Debug/"
-				WarningLevel="3"
+				WarningLevel="0"
 				SuppressStartupBanner="true"
 				DebugInformationFormat="4"
 			/>
@@ -278,11 +278,11 @@
 				>
 			</File>
 			<File
-				RelativePath="..\..\pocketsphinx-0.5.99\include\pocketsphinx.h"
+				RelativePath="..\..\..\include\pocketsphinx.h"
 				>
 			</File>
 			<File
-				RelativePath="..\..\..\include\pocketsphinx.h"
+				RelativePath="..\..\pocketsphinx-0.5.99\include\pocketsphinx.h"
 				>
 			</File>
 			<File

Modified: freeswitch/trunk/libs/win32/sphinxbase/sphinxbase.2008.vcproj
==============================================================================
--- freeswitch/trunk/libs/win32/sphinxbase/sphinxbase.2008.vcproj	(original)
+++ freeswitch/trunk/libs/win32/sphinxbase/sphinxbase.2008.vcproj	Thu Jan  1 19:55:26 2009
@@ -59,7 +59,7 @@
 				AssemblerListingLocation=".\Release/"
 				ObjectFile=".\Release/"
 				ProgramDataBaseFileName=".\Release/"
-				WarningLevel="3"
+				WarningLevel="0"
 				SuppressStartupBanner="true"
 			/>
 			<Tool
@@ -146,7 +146,7 @@
 				AssemblerListingLocation=".\Debug/"
 				ObjectFile=".\Debug/"
 				ProgramDataBaseFileName=".\Debug/"
-				WarningLevel="3"
+				WarningLevel="0"
 				SuppressStartupBanner="true"
 				DebugInformationFormat="4"
 			/>
@@ -474,7 +474,6 @@
 						PreprocessorDefinitions=""
 					/>
 				</FileConfiguration>
-
 			</File>
 			<File
 				RelativePath="..\..\sphinxbase-0.4.99\src\libsphinxbase\fe\fe_interface.c"
@@ -497,8 +496,6 @@
 						PreprocessorDefinitions=""
 					/>
 				</FileConfiguration>
-
-
 			</File>
 			<File
 				RelativePath="..\..\sphinxbase-0.4.99\src\libsphinxbase\fe\fe_sigproc.c"
@@ -521,7 +518,6 @@
 						PreprocessorDefinitions=""
 					/>
 				</FileConfiguration>
-
 			</File>
 			<File
 				RelativePath="..\..\sphinxbase-0.4.99\src\libsphinxbase\fe\fe_warp.c"
@@ -544,7 +540,6 @@
 						PreprocessorDefinitions=""
 					/>
 				</FileConfiguration>
-
 			</File>
 			<File
 				RelativePath="..\..\sphinxbase-0.4.99\src\libsphinxbase\fe\fe_warp_affine.c"
@@ -567,7 +562,6 @@
 						PreprocessorDefinitions=""
 					/>
 				</FileConfiguration>
-
 			</File>
 			<File
 				RelativePath="..\..\sphinxbase-0.4.99\src\libsphinxbase\fe\fe_warp_inverse_linear.c"
@@ -590,7 +584,6 @@
 						PreprocessorDefinitions=""
 					/>
 				</FileConfiguration>
-
 			</File>
 			<File
 				RelativePath="..\..\sphinxbase-0.4.99\src\libsphinxbase\fe\fe_warp_piecewise_linear.c"
@@ -613,7 +606,6 @@
 						PreprocessorDefinitions=""
 					/>
 				</FileConfiguration>
-
 			</File>
 			<File
 				RelativePath="..\..\sphinxbase-0.4.99\src\libsphinxbase\feat\feat.c"
@@ -636,7 +628,6 @@
 						PreprocessorDefinitions=""
 					/>
 				</FileConfiguration>
-
 			</File>
 			<File
 				RelativePath="..\..\sphinxbase-0.4.99\src\libsphinxbase\util\filename.c"
@@ -659,7 +650,6 @@
 						PreprocessorDefinitions=""
 					/>
 				</FileConfiguration>
-
 			</File>
 			<File
 				RelativePath="..\..\sphinxbase-0.4.99\src\libsphinxbase\fe\fixlog.c"
@@ -682,7 +672,6 @@
 						PreprocessorDefinitions=""
 					/>
 				</FileConfiguration>
-
 			</File>
 			<File
 				RelativePath="..\..\sphinxbase-0.4.99\src\libsphinxbase\lm\fsg_model.c"
@@ -709,7 +698,6 @@
 						PreprocessorDefinitions=""
 					/>
 				</FileConfiguration>
-
 			</File>
 			<File
 				RelativePath="..\..\sphinxbase-0.4.99\src\libsphinxbase\util\glist.c"
@@ -732,7 +720,6 @@
 						PreprocessorDefinitions=""
 					/>
 				</FileConfiguration>
-
 			</File>
 			<File
 				RelativePath="..\..\sphinxbase-0.4.99\src\libsphinxbase\util\hash_table.c"
@@ -755,7 +742,6 @@
 						PreprocessorDefinitions=""
 					/>
 				</FileConfiguration>
-
 			</File>
 			<File
 				RelativePath="..\..\sphinxbase-0.4.99\src\libsphinxbase\util\heap.c"
@@ -778,7 +764,6 @@
 						PreprocessorDefinitions=""
 					/>
 				</FileConfiguration>
-
 			</File>
 			<File
 				RelativePath="..\..\sphinxbase-0.4.99\src\libsphinxbase\util\info.c"
@@ -801,7 +786,6 @@
 						PreprocessorDefinitions=""
 					/>
 				</FileConfiguration>
-
 			</File>
 			<File
 				RelativePath="..\..\sphinxbase-0.4.99\src\libsphinxbase\lm\jsgf.c"
@@ -836,7 +820,6 @@
 						PreprocessorDefinitions=""
 					/>
 				</FileConfiguration>
-
 			</File>
 			<File
 				RelativePath="..\..\sphinxbase-0.4.99\src\libsphinxbase\util\listelem_alloc.c"
@@ -871,7 +854,6 @@
 						PreprocessorDefinitions=""
 					/>
 				</FileConfiguration>
-
 			</File>
 			<File
 				RelativePath="..\..\sphinxbase-0.4.99\src\libsphinxbase\util\mmio.c"
@@ -918,7 +900,6 @@
 						PreprocessorDefinitions=""
 					/>
 				</FileConfiguration>
-
 			</File>
 			<File
 				RelativePath="..\..\sphinxbase-0.4.99\src\libsphinxad\play_win32.c"
@@ -941,7 +922,6 @@
 						PreprocessorDefinitions=""
 					/>
 				</FileConfiguration>
-
 			</File>
 			<File
 				RelativePath="..\..\sphinxbase-0.4.99\src\libsphinxbase\util\profile.c"
@@ -964,7 +944,6 @@
 						PreprocessorDefinitions=""
 					/>
 				</FileConfiguration>
-
 			</File>
 			<File
 				RelativePath="..\..\sphinxbase-0.4.99\src\libsphinxad\rec_win32.c"
@@ -987,7 +966,6 @@
 						PreprocessorDefinitions=""
 					/>
 				</FileConfiguration>
-
 			</File>
 			<File
 				RelativePath="..\..\sphinxbase-0.4.99\src\libsphinxbase\util\sbthread.c"
@@ -1014,7 +992,6 @@
 						PreprocessorDefinitions=""
 					/>
 				</FileConfiguration>
-
 			</File>
 			<File
 				RelativePath="..\..\sphinxbase-0.4.99\src\libsphinxbase\util\slapack_lite.c"
@@ -1037,7 +1014,6 @@
 						PreprocessorDefinitions=""
 					/>
 				</FileConfiguration>
-
 			</File>
 			<File
 				RelativePath="..\..\sphinxbase-0.4.99\src\libsphinxbase\util\strfuncs.c"
@@ -1060,7 +1036,6 @@
 						PreprocessorDefinitions=""
 					/>
 				</FileConfiguration>
-
 			</File>
 			<File
 				RelativePath="..\..\sphinxbase-0.4.99\src\libsphinxbase\util\unlimit.c"
@@ -1083,7 +1058,6 @@
 						PreprocessorDefinitions=""
 					/>
 				</FileConfiguration>
-
 			</File>
 			<File
 				RelativePath="..\..\sphinxbase-0.4.99\src\libsphinxbase\fe\yin.c"



More information about the Freeswitch-svn mailing list