Fix a compilation error and tidy up some messages.

This commit is contained in:
Mike Brady
2019-10-28 08:53:04 +00:00
parent 8a814dc98c
commit 54d1323851
3 changed files with 30 additions and 1198 deletions
+5 -2
View File
@@ -5,8 +5,11 @@
#include "FFTConvolver.h"
#include "Utilities.h"
extern "C" void die(const char *format, ...);
extern "C" void debug(int level, const char *format, ...);
extern "C" void _die(const char *filename, const int linenumber, const char *format, ...);
extern "C" void _debug(const char *filename, const int linenumber, int level, const char *format, ...);
#define die(...) _die(__FILE__, __LINE__, __VA_ARGS__)
#define debug(...) _debug(__FILE__, __LINE__, __VA_ARGS__)
static fftconvolver::FFTConvolver convolver_l;
static fftconvolver::FFTConvolver convolver_r;
+1 -1
View File
@@ -298,7 +298,7 @@ AC_ARG_WITH(convolution, [ --with-convolution = choose audio DSP convolution su
REQUESTED_CONVOLUTION=1
AM_INIT_AUTOMAKE([subdir-objects])
AC_DEFINE([CONFIG_CONVOLUTION], 1, [Needed by the compiler.])
AC_CHECK_LIB([sndfile], [sf_open], , AC_MSG_ERROR(Convolution support requires the sndfile library!))], )
AC_CHECK_LIB([sndfile], [sf_open], , AC_MSG_ERROR(Convolution support requires the sndfile library -- libsndfile1-dev suggested!))], )
AM_CONDITIONAL([USE_CONVOLUTION], [test "x$REQUESTED_CONVOLUTION" = "x1"])
# Look for dns_sd flag
+24 -1195
View File
File diff suppressed because it is too large Load Diff