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:
Tobias Doerffel
2008-06-30 16:52:55 +00:00
parent 1c8f252182
commit 8a80325f51
2 changed files with 4 additions and 6 deletions

View File

@@ -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;

View File

@@ -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;