diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2007-04-13 02:26:42 +0000 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2007-04-13 02:26:42 +0000 |
commit | 389684853d142749454a11fd11b5816d32f06377 (patch) | |
tree | 2c74e3e677cf1e0d8b901467021140e35b47d45f /libs/ardour | |
parent | 799e204be4b30f8241b2f8873a0b33ac9bd8c4e4 (diff) |
more mtc debugging
git-svn-id: svn://localhost/ardour2/trunk@1711 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'libs/ardour')
-rw-r--r-- | libs/ardour/session_time.cc | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/libs/ardour/session_time.cc b/libs/ardour/session_time.cc index 9ae3492ea7..ca1f9252b6 100644 --- a/libs/ardour/session_time.cc +++ b/libs/ardour/session_time.cc @@ -158,13 +158,7 @@ Session::sync_time_vars () } _smpte_frames_per_hour = (nframes_t)rint(smpte_frames_per_second() * 3600.0); -} - -int -Session::set_smpte_format (SmpteFormat format) -{ - - Config->set_smpte_format (format); + cerr << "resetting mtc_smpte_bits\n"; last_smpte_valid = false; // smpte type bits are the middle two in the upper nibble @@ -186,7 +180,13 @@ Session::set_smpte_format (SmpteFormat format) } break; }; +} +int +Session::set_smpte_format (SmpteFormat format) +{ + /* this will trigger any other changes needed */ + Config->set_smpte_format (format); return 0; } |