Author: akhaldi
Date: Sat Jan 4 10:08:01 2014
New Revision: 61508
URL:
http://svn.reactos.org/svn/reactos?rev=61508&view=rev
Log:
[LIBSAMPLERATE]
* Create a main header and move some inclusions to it.
CORE-7716
Added:
trunk/reactos/lib/3rdparty/libsamplerate/precomp.h (with props)
Modified:
trunk/reactos/lib/3rdparty/libsamplerate/samplerate.c
trunk/reactos/lib/3rdparty/libsamplerate/src_linear.c
trunk/reactos/lib/3rdparty/libsamplerate/src_sinc.c
trunk/reactos/lib/3rdparty/libsamplerate/src_zoh.c
Added: trunk/reactos/lib/3rdparty/libsamplerate/precomp.h
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/lib/3rdparty/libsamplerate…
==============================================================================
--- trunk/reactos/lib/3rdparty/libsamplerate/precomp.h (added)
+++ trunk/reactos/lib/3rdparty/libsamplerate/precomp.h [iso-8859-1] Sat Jan 4 10:08:01
2014
@@ -0,0 +1,11 @@
+#ifndef _LIBSAMPLERATE_PCH_
+#define _LIBSAMPLERATE_PCH_
+
+#include <stdlib.h>
+#include <string.h>
+
+#include "config.h"
+#include "float_cast.h"
+#include "common.h"
+
+#endif /* _LIBSAMPLERATE_PCH_ */
Propchange: trunk/reactos/lib/3rdparty/libsamplerate/precomp.h
------------------------------------------------------------------------------
svn:eol-style = native
Modified: trunk/reactos/lib/3rdparty/libsamplerate/samplerate.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/lib/3rdparty/libsamplerate…
==============================================================================
--- trunk/reactos/lib/3rdparty/libsamplerate/samplerate.c [iso-8859-1] (original)
+++ trunk/reactos/lib/3rdparty/libsamplerate/samplerate.c [iso-8859-1] Sat Jan 4 10:08:01
2014
@@ -22,15 +22,7 @@
**
http://www.mega-nerd.com/SRC/procedure.html
*/
-#include <stdio.h>
-#include <stdlib.h>
-#include <string.h>
-
-#include "config.h"
-
-#include "samplerate.h"
-#include "float_cast.h"
-#include "common.h"
+#include "precomp.h"
static int psrc_set_converter (SRC_PRIVATE *psrc, int converter_type) ;
Modified: trunk/reactos/lib/3rdparty/libsamplerate/src_linear.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/lib/3rdparty/libsamplerate…
==============================================================================
--- trunk/reactos/lib/3rdparty/libsamplerate/src_linear.c [iso-8859-1] (original)
+++ trunk/reactos/lib/3rdparty/libsamplerate/src_linear.c [iso-8859-1] Sat Jan 4 10:08:01
2014
@@ -22,13 +22,7 @@
**
http://www.mega-nerd.com/SRC/procedure.html
*/
-#include <stdio.h>
-#include <stdlib.h>
-#include <string.h>
-
-#include "config.h"
-#include "float_cast.h"
-#include "common.h"
+#include "precomp.h"
static int linear_vari_process (SRC_PRIVATE *psrc, SRC_DATA *data) ;
static void linear_reset (SRC_PRIVATE *psrc) ;
Modified: trunk/reactos/lib/3rdparty/libsamplerate/src_sinc.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/lib/3rdparty/libsamplerate…
==============================================================================
--- trunk/reactos/lib/3rdparty/libsamplerate/src_sinc.c [iso-8859-1] (original)
+++ trunk/reactos/lib/3rdparty/libsamplerate/src_sinc.c [iso-8859-1] Sat Jan 4 10:08:01
2014
@@ -22,13 +22,7 @@
**
http://www.mega-nerd.com/SRC/procedure.html
*/
-#include <stdio.h>
-#include <stdlib.h>
-#include <string.h>
-
-#include "config.h"
-#include "float_cast.h"
-#include "common.h"
+#include "precomp.h"
#define SINC_MAGIC_MARKER MAKE_MAGIC (' ', 's', 'i', 'n',
'c', ' ')
Modified: trunk/reactos/lib/3rdparty/libsamplerate/src_zoh.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/lib/3rdparty/libsamplerate…
==============================================================================
--- trunk/reactos/lib/3rdparty/libsamplerate/src_zoh.c [iso-8859-1] (original)
+++ trunk/reactos/lib/3rdparty/libsamplerate/src_zoh.c [iso-8859-1] Sat Jan 4 10:08:01
2014
@@ -22,13 +22,7 @@
**
http://www.mega-nerd.com/SRC/procedure.html
*/
-#include <stdio.h>
-#include <stdlib.h>
-#include <string.h>
-
-#include "config.h"
-#include "float_cast.h"
-#include "common.h"
+#include "precomp.h"
static int zoh_vari_process (SRC_PRIVATE *psrc, SRC_DATA *data) ;
static void zoh_reset (SRC_PRIVATE *psrc) ;