do not duplicate constants
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1233 0778d3d1-df1d-0410-868b-ea421aaaa00d
This commit is contained in:
@@ -38,9 +38,9 @@
|
||||
|
||||
|
||||
// how long should be each envelope-segment maximal (e.g. attack)?
|
||||
const float SECS_PER_ENV_SEGMENT = 5.0f;
|
||||
extern const float SECS_PER_ENV_SEGMENT = 5.0f;
|
||||
// how long should be one LFO-oscillation maximal?
|
||||
const float SECS_PER_LFO_OSCILLATION = 20.0f;
|
||||
extern const float SECS_PER_LFO_OSCILLATION = 20.0f;
|
||||
|
||||
|
||||
QVector<envelopeAndLFOParameters *> envelopeAndLFOParameters::s_EaLParametersInstances;
|
||||
|
||||
@@ -50,10 +50,8 @@
|
||||
|
||||
|
||||
|
||||
// how long should be each envelope-segment maximal (e.g. attack)?
|
||||
const float SECS_PER_ENV_SEGMENT = 5.0f;
|
||||
// how long should be one LFO-oscillation maximal?
|
||||
const float SECS_PER_LFO_OSCILLATION = 20.0f;
|
||||
extern const float SECS_PER_ENV_SEGMENT;
|
||||
extern const float SECS_PER_LFO_OSCILLATION;
|
||||
|
||||
|
||||
const int ENV_GRAPH_X = 6;
|
||||
|
||||
Reference in New Issue
Block a user