diff options
author | Orcan Ogetbil <oget.fedora@gmail.com> | 2011-10-07 02:20:29 +0000 |
---|---|---|
committer | Orcan Ogetbil <oget.fedora@gmail.com> | 2011-10-07 02:20:29 +0000 |
commit | f16b2037025918e32c5fd90527f76e1102e5ecb9 (patch) | |
tree | 0da3b7a29d13b5b826b291ccb2f2676d2e227b40 /muse2/muse/mtc.cpp | |
parent | 42039e7f7f215f6008829d8c6be591c998f1228c (diff) |
(hopefully) final huge namespace update.
Diffstat (limited to 'muse2/muse/mtc.cpp')
-rw-r--r-- | muse2/muse/mtc.cpp | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/muse2/muse/mtc.cpp b/muse2/muse/mtc.cpp index cf404a90..ef6fcd3d 100644 --- a/muse2/muse/mtc.cpp +++ b/muse2/muse/mtc.cpp @@ -24,7 +24,11 @@ #include "mtc.h" #include <stdio.h> +namespace MusEGlobal { extern int mtcType; +} + +namespace MusECore { //--------------------------------------------------------- // MTC::time @@ -37,7 +41,7 @@ double MTC::time(int type) const double time = _h * 3600 + _m * 60 + _s; double ft = 0.0; if(type == -1) - type = mtcType; + type = MusEGlobal::mtcType; switch (type) { case 0: // 24 frames sec ft = 1.0/24.0; @@ -68,7 +72,7 @@ MTC::MTC(double t, int type) t -= _s; double ft = 1.0/24.0; if(type == -1) - type = mtcType; + type = MusEGlobal::mtcType; switch (type) { case 0: // 24 frames sec ft = 1.0/24.0; @@ -97,7 +101,7 @@ void MTC::incQuarter(int type) { int frames = 24; if(type == -1) - type = mtcType; + type = MusEGlobal::mtcType; switch (type) { case 0: frames = 24; @@ -143,3 +147,4 @@ void MTC::print() const } +} // namespace MusECore |