Changes needed for building with MSVC
Mostly these are to do with TLSF which I hadn't in fact been building!! Hopefully there won't be any problems for the gcc builds.
This commit is contained in:
@@ -351,6 +351,10 @@
|
|||||||
RelativePath="..\audioregion.cc"
|
RelativePath="..\audioregion.cc"
|
||||||
>
|
>
|
||||||
</File>
|
</File>
|
||||||
|
<File
|
||||||
|
RelativePath="..\audiorom.cc"
|
||||||
|
>
|
||||||
|
</File>
|
||||||
<File
|
<File
|
||||||
RelativePath="..\audiosource.cc"
|
RelativePath="..\audiosource.cc"
|
||||||
>
|
>
|
||||||
@@ -939,6 +943,10 @@
|
|||||||
RelativePath="..\rc_configuration.cc"
|
RelativePath="..\rc_configuration.cc"
|
||||||
>
|
>
|
||||||
</File>
|
</File>
|
||||||
|
<File
|
||||||
|
RelativePath="..\readable.cc"
|
||||||
|
>
|
||||||
|
</File>
|
||||||
<File
|
<File
|
||||||
RelativePath="..\readonly_control.cc"
|
RelativePath="..\readonly_control.cc"
|
||||||
>
|
>
|
||||||
@@ -1577,6 +1585,10 @@
|
|||||||
RelativePath="..\ardour\audioregion.h"
|
RelativePath="..\ardour\audioregion.h"
|
||||||
>
|
>
|
||||||
</File>
|
</File>
|
||||||
|
<File
|
||||||
|
RelativePath="..\ardour\audiorom.h"
|
||||||
|
>
|
||||||
|
</File>
|
||||||
<File
|
<File
|
||||||
RelativePath="..\ardour\audiosource.h"
|
RelativePath="..\ardour\audiosource.h"
|
||||||
>
|
>
|
||||||
|
|||||||
@@ -24,19 +24,21 @@
|
|||||||
#include "ardour/audio_buffer.h"
|
#include "ardour/audio_buffer.h"
|
||||||
#include "ardour/audioengine.h"
|
#include "ardour/audioengine.h"
|
||||||
#include "ardour/audiofilesource.h"
|
#include "ardour/audiofilesource.h"
|
||||||
|
#include "ardour/chan_mapping.h"
|
||||||
#include "ardour/convolver.h"
|
#include "ardour/convolver.h"
|
||||||
#include "ardour/dsp_filter.h"
|
#include "ardour/dsp_filter.h"
|
||||||
#include "ardour/readable.h"
|
#include "ardour/readable.h"
|
||||||
#include "ardour/session.h"
|
#include "ardour/session.h"
|
||||||
#include "ardour/source_factory.h"
|
#include "ardour/source_factory.h"
|
||||||
#include "ardour/srcfilesource.h"
|
#include "ardour/srcfilesource.h"
|
||||||
|
#include "ardour/types.h"
|
||||||
|
|
||||||
#include "pbd/i18n.h"
|
#include "pbd/i18n.h"
|
||||||
|
|
||||||
|
using namespace ARDOUR;
|
||||||
using namespace ARDOUR::DSP;
|
using namespace ARDOUR::DSP;
|
||||||
using namespace ArdourZita;
|
using namespace ArdourZita;
|
||||||
|
|
||||||
using ARDOUR::Session;
|
|
||||||
Convolution::Convolution (Session& session, uint32_t n_in, uint32_t n_out)
|
Convolution::Convolution (Session& session, uint32_t n_in, uint32_t n_out)
|
||||||
: SessionHandleRef (session)
|
: SessionHandleRef (session)
|
||||||
, _n_samples (0)
|
, _n_samples (0)
|
||||||
|
|||||||
@@ -470,6 +470,10 @@
|
|||||||
RelativePath="..\timing.cc"
|
RelativePath="..\timing.cc"
|
||||||
>
|
>
|
||||||
</File>
|
</File>
|
||||||
|
<File
|
||||||
|
RelativePath="..\tlsf.cc"
|
||||||
|
>
|
||||||
|
</File>
|
||||||
<File
|
<File
|
||||||
RelativePath="..\transmitter.cc"
|
RelativePath="..\transmitter.cc"
|
||||||
>
|
>
|
||||||
@@ -832,6 +836,10 @@
|
|||||||
RelativePath="..\pbd\timing.h"
|
RelativePath="..\pbd\timing.h"
|
||||||
>
|
>
|
||||||
</File>
|
</File>
|
||||||
|
<File
|
||||||
|
RelativePath="..\pbd\tlsf.h"
|
||||||
|
>
|
||||||
|
</File>
|
||||||
<File
|
<File
|
||||||
RelativePath="..\pbd\tokenizer.h"
|
RelativePath="..\pbd\tokenizer.h"
|
||||||
>
|
>
|
||||||
|
|||||||
@@ -52,8 +52,10 @@
|
|||||||
//#define TLSF_STATISTIC 1
|
//#define TLSF_STATISTIC 1
|
||||||
|
|
||||||
#ifndef USE_PRINTF
|
#ifndef USE_PRINTF
|
||||||
|
#if TLSF_STATISTIC
|
||||||
#define USE_PRINTF (1)
|
#define USE_PRINTF (1)
|
||||||
#endif
|
#endif
|
||||||
|
#endif
|
||||||
|
|
||||||
#include <assert.h>
|
#include <assert.h>
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
@@ -138,9 +140,11 @@
|
|||||||
# define ERROR_MSG(fmt, args...) printf(fmt, ## args)
|
# define ERROR_MSG(fmt, args...) printf(fmt, ## args)
|
||||||
#else
|
#else
|
||||||
# if !defined(PRINT_MSG)
|
# if !defined(PRINT_MSG)
|
||||||
# define PRINT_MSG(fmt, args...)
|
# if TLSF_STATISTIC
|
||||||
|
# define PRINT_MSG(fmt, args...)
|
||||||
|
# endif
|
||||||
# endif
|
# endif
|
||||||
# if !defined(ERROR_MSG)
|
# if !defined(ERROR_MSG) && !defined(COMPILER_MSVC)
|
||||||
# define ERROR_MSG(fmt, args...)
|
# define ERROR_MSG(fmt, args...)
|
||||||
# endif
|
# endif
|
||||||
#endif
|
#endif
|
||||||
|
|||||||
Reference in New Issue
Block a user