shithub: sox

Download patch

ref: ea37d6681fba01a0b8a2129fd9fe84b647e792af
parent: a9a57db8df9a7322ae8d397b5d8c9b89205eba4b
author: idigdoug <idigdoug>
date: Mon Jan 24 02:21:45 EST 2011

Fix issues when building msvc9 or msvc10 projects from distro due to missing
files. Remove bitio.c from projects (not used, not distributed). Add speexdsp.c
to distro.

--- a/msvc10/LibLpc10.vcxproj
+++ b/msvc10/LibLpc10.vcxproj
@@ -97,7 +97,6 @@
   </ItemDefinitionGroup>
   <ItemGroup>
     <ClCompile Include="..\lpc10\analys.c" />
-    <ClCompile Include="..\lpc10\bitio.c" />
     <ClCompile Include="..\lpc10\bsynz.c" />
     <ClCompile Include="..\lpc10\chanwr.c" />
     <ClCompile Include="..\lpc10\dcbias.c" />
@@ -133,7 +132,6 @@
     <ClCompile Include="..\lpc10\vparms.c" />
   </ItemGroup>
   <ItemGroup>
-    <ClInclude Include="..\lpc10\bitio.h" />
     <ClInclude Include="..\lpc10\f2c.h" />
     <ClInclude Include="..\lpc10\lpc10.h" />
   </ItemGroup>
@@ -140,4 +138,4 @@
   <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
   <ImportGroup Label="ExtensionTargets">
   </ImportGroup>
-</Project>
\ No newline at end of file
+</Project>
--- a/msvc10/LibLpc10.vcxproj.filters
+++ b/msvc10/LibLpc10.vcxproj.filters
@@ -14,9 +14,6 @@
     <ClCompile Include="..\lpc10\analys.c">
       <Filter>Source Files</Filter>
     </ClCompile>
-    <ClCompile Include="..\lpc10\bitio.c">
-      <Filter>Source Files</Filter>
-    </ClCompile>
     <ClCompile Include="..\lpc10\bsynz.c">
       <Filter>Source Files</Filter>
     </ClCompile>
@@ -118,9 +115,6 @@
     </ClCompile>
   </ItemGroup>
   <ItemGroup>
-    <ClInclude Include="..\lpc10\bitio.h">
-      <Filter>Header Files</Filter>
-    </ClInclude>
     <ClInclude Include="..\lpc10\f2c.h">
       <Filter>Header Files</Filter>
     </ClInclude>
@@ -128,4 +122,4 @@
       <Filter>Header Files</Filter>
     </ClInclude>
   </ItemGroup>
-</Project>
\ No newline at end of file
+</Project>
--- a/msvc9/LibLpc10.vcproj
+++ b/msvc9/LibLpc10.vcproj
@@ -172,10 +172,6 @@
 				>
 			</File>
 			<File
-				RelativePath="..\..\sox\lpc10\bitio.c"
-				>
-			</File>
-			<File
 				RelativePath="..\..\sox\lpc10\bsynz.c"
 				>
 			</File>
@@ -313,10 +309,6 @@
 			Filter="h;hpp;hxx;hm;inl;inc;xsd"
 			UniqueIdentifier="{93995380-89BD-4b04-88EB-625FBE52EBFB}"
 			>
-			<File
-				RelativePath="..\..\sox\lpc10\bitio.h"
-				>
-			</File>
 			<File
 				RelativePath="..\..\sox\lpc10\f2c.h"
 				>
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -76,7 +76,7 @@
 	noisered.c noisered.h output.c overdrive.c pad.c pan.c phaser.c rate.c \
 	rate_filters.h rate_half_fir.h rate_poly_fir0.h rate_poly_fir.h \
 	remix.c repeat.c reverb.c reverse.c silence.c sinc.c skeleff.c speed.c \
-	splice.c stat.c stats.c stretch.c swap.c synth.c tempo.c tremolo.c \
+	speexdsp.c splice.c stat.c stats.c stretch.c swap.c synth.c tempo.c tremolo.c \
 	trim.c vad.c vol.c ignore-warning.h
 if HAVE_PNG
     libsox_la_SOURCES += spectrogram.c