diff options
author | Tim E. Real <termtech@rogers.com> | 2012-12-12 01:42:39 +0000 |
---|---|---|
committer | Tim E. Real <termtech@rogers.com> | 2012-12-12 01:42:39 +0000 |
commit | 4d046efb0d339175468f7f180315cfd194e635d7 (patch) | |
tree | fb982ea97444b98b4d35daa03d3eebfe1881797c /muse2/muse | |
parent | fc5daa9a9ce1e57d29cf0f086f46f0565a670447 (diff) |
Fixes...
Diffstat (limited to 'muse2/muse')
-rw-r--r-- | muse2/muse/vst_native.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/muse2/muse/vst_native.cpp b/muse2/muse/vst_native.cpp index 30f7d207..5f98939c 100644 --- a/muse2/muse/vst_native.cpp +++ b/muse2/muse/vst_native.cpp @@ -960,13 +960,13 @@ VstIntPtr VstNativeSynthIF::hostCallback(VstInt32 opcode, VstInt32 index, VstInt int p_bar, p_beat, p_tick; p.mbt(&p_bar, &p_beat, &p_tick); -#ifndef VST_VESTIGE_SUPPORT +//#ifndef VST_VESTIGE_SUPPORT _timeInfo.barStartPos = Pos(p_bar, 0, 0).tick(); - _timeInfo.ppqPos = MusEGlobal::audio->tickPos(); -#else - *((double*)&_timeInfo.empty2[0]) = (double)Pos(p_bar, 0, 0).tick() / 120.0; - *((double*)&_timeInfo.empty1[8]) = (double)MusEGlobal::audio->tickPos() / 120.0; -#endif + _timeInfo.ppqPos = MusEGlobal::audio->tickPos() / 240.0; +// #else +// *((double*)&_timeInfo.empty2[0]) = (double)Pos(p_bar, 0, 0).tick() / 120.0; +// *((double*)&_timeInfo.empty1[8]) = (double)MusEGlobal::audio->tickPos() / 120.0; +// #endif //pos->bar++; //pos->beat++; |