From ba49f3d781ddda444783b1c99ca65f2148e70a33 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?IOhannes=20m=20zm=C3=B6lnig?= Date: Mon, 3 Nov 2008 10:20:51 +0000 Subject: added checks for sndfile to configure; properly use this in mtx_sndfileread svn path=/trunk/externals/iem/iemmatrix/; revision=10356 --- src/mtx_sndfileread.c | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'src/mtx_sndfileread.c') diff --git a/src/mtx_sndfileread.c b/src/mtx_sndfileread.c index 041e2bd..da77506 100644 --- a/src/mtx_sndfileread.c +++ b/src/mtx_sndfileread.c @@ -1,7 +1,9 @@ + +#include "iemmatrix.h" + #ifdef HAVE_SNDFILE_H # include #endif -#include "iemmatrix.h" #ifdef __WIN32__ # include @@ -289,9 +291,6 @@ void mtx_sndfileread_setup(void) class_addmethod(mtx_sndfileread_class, (t_method)mtx_sndfileread_close, gensym("close"), A_NULL, 0); class_addbang(mtx_sndfileread_class, (t_method)mtx_sndfileread_frame); class_addfloat(mtx_sndfileread_class, (t_method)mtx_sndfileread_frames); -#ifndef HAVE_SNDFILE_H - post("mtx_sndfileread won't work: compiled without libsndfile!"); -#endif } void iemtx_sndfileread_setup (void) -- cgit v1.2.1