[MPlayer-cvslog] r32162 - in trunk/libaf: filter.h window.h
diego
subversion at mplayerhq.hu
Sun Sep 12 00:11:40 CEST 2010
Author: diego
Date: Sun Sep 12 00:11:40 2010
New Revision: 32162
Log:
Get rid of MPLAYER_DSP_H hack and #include dsp.h instead.
If dsp.h #inclusion is a prerequisite for window.h/filter.h, the clean solution
is to have those headers #include dsp.h directly instead of relying on the user.
Modified:
trunk/libaf/filter.h
trunk/libaf/window.h
Modified: trunk/libaf/filter.h
==============================================================================
--- trunk/libaf/filter.h Sat Sep 11 16:56:52 2010 (r32161)
+++ trunk/libaf/filter.h Sun Sep 12 00:11:40 2010 (r32162)
@@ -18,13 +18,11 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
-#if !defined MPLAYER_DSP_H
-# error Never use filter.h directly; include dsp.h instead.
-#endif
-
#ifndef MPLAYER_FILTER_H
#define MPLAYER_FILTER_H
+#include "dsp.h"
+
// Design and implementation of different types of digital filters
Modified: trunk/libaf/window.h
==============================================================================
--- trunk/libaf/window.h Sat Sep 11 16:56:52 2010 (r32161)
+++ trunk/libaf/window.h Sun Sep 12 00:11:40 2010 (r32162)
@@ -25,13 +25,11 @@
coefficients will be stored.
*/
-#if !defined MPLAYER_DSP_H
-# error Never use window.h directly; include dsp.h instead.
-#endif
-
#ifndef MPLAYER_WINDOW_H
#define MPLAYER_WINDOW_H
+#include "dsp.h"
+
void af_window_boxcar(int n, FLOAT_TYPE* w);
void af_window_triang(int n, FLOAT_TYPE* w);
void af_window_hanning(int n, FLOAT_TYPE* w);
More information about the MPlayer-cvslog
mailing list