diff options
author | nick_m <mainsbridge@gmail.com> | 2016-11-11 03:26:21 +1100 |
---|---|---|
committer | nick_m <mainsbridge@gmail.com> | 2016-11-11 03:37:08 +1100 |
commit | bf416cb91ec8a0cb8a068a6e00da99c43d43d2fa (patch) | |
tree | 8e0ce7aa1fce5ff6659fbbe1c4306a12ba531cec /libs/ardour/region.cc | |
parent | 425fe93fde812650ee38fea16860a5e16a36a991 (diff) |
remove debugging output
Diffstat (limited to 'libs/ardour/region.cc')
-rw-r--r-- | libs/ardour/region.cc | 23 |
1 files changed, 0 insertions, 23 deletions
diff --git a/libs/ardour/region.cc b/libs/ardour/region.cc index e75d0f2604..bc03ba124b 100644 --- a/libs/ardour/region.cc +++ b/libs/ardour/region.cc @@ -591,11 +591,6 @@ Region::set_position (framepos_t pos, int32_t sub_num) if (position_lock_style() == AudioTime) { set_position_internal (pos, true, sub_num); - if (_session.tempo_map().frame_at_beat (_beat) != _position) { - std::cout << name () - << " Region::set_position AudioTime position error!!! FRAME AT BEAT : " <<_session.tempo_map().frame_at_beat (_beat) - << " position : " << _position << " has playlist : " << (playlist() == 0) << std::endl; - } } else { if (!_session.loading()) { _beat = _session.tempo_map().exact_beat_at_frame (pos, sub_num); @@ -603,12 +598,6 @@ Region::set_position (framepos_t pos, int32_t sub_num) /* will set pulse accordingly */ set_position_internal (pos, false, sub_num); - - if (_session.tempo_map().frame_at_beat (_beat) != _position) { - std::cout << name () - << " Region::set_position MusicTime position error!!! FRAME AT BEAT : " <<_session.tempo_map().frame_at_beat (_beat) - << " position : " << _position << " beat : " << _beat << " has playlist : " << (playlist() == 0) << std::endl; - } } /* do this even if the position is the same. this helps out @@ -1860,18 +1849,6 @@ void Region::post_set (const PropertyChange& pc) { if (pc.contains (Properties::position)) { - if (playlist() && _session.tempo_map().frame_at_beat (_beat) != _position && position_lock_style() == MusicTime) { - std::cout << name() - << " Region::post_set MusicTime position error!!! FRAME AT BEAT : " <<_session.tempo_map().frame_at_beat (_beat) - << " position : " << _position << " beat : " << _beat << std::endl; - //_position = _session.tempo_map().frame_at_beat (_beat); - } - if (playlist() && _session.tempo_map().frame_at_beat (_beat) != _position && position_lock_style() == AudioTime) { - std::cout << name() - << " Region::post_set AudioTime position error!!! FRAME AT BEAT : " <<_session.tempo_map().frame_at_beat (_beat) - << " position : " << _position << " beat : " << _beat << std::endl; - //_beat = _session.tempo_map().beat_at_frame (_position); - } _quarter_note = _session.tempo_map().quarter_note_at_beat (_beat); } } |