1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-10-21 14:02:57 +02:00

Require Audacity.h before Experimental.h...

... so that USE_* macros will be seen first, and so
EXPERIMENTAL_AUTOMATED_INPUT_LEVEL_ADJUSTMENT, for one, is correctly defined.

I hesitated actually to include Audacity.h in Experimental.h.  Maybe no
need for that hesitancy.  But instead I use #error if Audacity.h has not been
seen yet.
This commit is contained in:
Paul Licameli
2019-03-22 11:09:22 -04:00
parent 6f9746b601
commit 7cd6664f7b
9 changed files with 13 additions and 0 deletions

View File

@@ -30,6 +30,11 @@
#ifndef __EXPERIMENTAL__
#define __EXPERIMENTAL__
#ifndef __AUDACITY_H__
// Audacity.h is needed for the USE_* macros
#error Must include Audacity.h before Experimental.h
#endif
// ACH 08 Jan 2014
// EQ accelerated code
//#define EXPERIMENTAL_EQ_SSE_THREADED