diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2012-01-05 05:05:31 +0000 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2012-01-05 05:05:31 +0000 |
commit | e0b694f630e31039e082c1ce640dfaf85bfede3c (patch) | |
tree | 13eae2b01c2ea916199f7930afe9789a0cedf825 /libs/ardour/location.cc | |
parent | 4e4306d1251aedc294ae8e041f855d136f1c7e8f (diff) |
possibly fix deadlocking issues with tempo map by rearranging code and adding RT variants for a couple of functions that would normally try to rebuild the map when necessary; instead the variants throw an exception and the RT code that called them tries to do something reasonable
git-svn-id: svn://localhost/ardour2/branches/3.0@11164 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'libs/ardour/location.cc')
-rw-r--r-- | libs/ardour/location.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libs/ardour/location.cc b/libs/ardour/location.cc index ed9f34ff8b..e909957e0d 100644 --- a/libs/ardour/location.cc +++ b/libs/ardour/location.cc @@ -520,8 +520,8 @@ Location::recompute_bbt_from_frames () return; } - _session.tempo_map().bbt_time (_start, _bbt_start); - _session.tempo_map().bbt_time (_end, _bbt_end); + _session.bbt_time (_start, _bbt_start); + _session.bbt_time (_end, _bbt_end); } void |