blob: e9140e415b71cbf27a42709ac7acb28658adebd1 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
#ifndef ENGINEXFADER_H
#define ENGINEXFADER_H
// HACK until we have Control 2.0
#define MIXXX_XFADER_ADDITIVE 0.0
#define MIXXX_XFADER_CONSTPWR 1.0
class EngineXfader {
public:
static double getPowerCalibration(double transform);
static void getXfadeGains(
double xfadePosition, double transform, double powerCalibration,
double curve, bool reverse, double* gain1, double* gain2);
static const char* kXfaderConfigKey;
static const double kTransformDefault;
static const double kTransformMax;
static const double kTransformMin;
};
#endif /* ENGINEXFADER_H */
|