summaryrefslogtreecommitdiff
path: root/libs/ardour/track.cc
diff options
context:
space:
mode:
authorPaul Davis <paul@linuxaudiosystems.com>2011-03-09 05:19:44 +0000
committerPaul Davis <paul@linuxaudiosystems.com>2011-03-09 05:19:44 +0000
commit8849cb428741d7d60261d1e44ceec665912281f5 (patch)
tree94649231bdf12dfb30cf2f43b8e9029ba2b0cb2b /libs/ardour/track.cc
parent30ac00b92d420da94b3cd3d9dd7fbe200ee69667 (diff)
add new concept for managing alignment style (AlignChoice); switch to using worst_playback_latency() just about everywhere we were using worst_output_latency() - the former includes plugin latency. answer appears to break earlier fixes to alignment, but is semantically right, so plan to investigate in another 8 hours or so
git-svn-id: svn://localhost/ardour2/branches/3.0@9112 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'libs/ardour/track.cc')
-rw-r--r--libs/ardour/track.cc12
1 files changed, 12 insertions, 0 deletions
diff --git a/libs/ardour/track.cc b/libs/ardour/track.cc
index be992eaa61..d51344eb0d 100644
--- a/libs/ardour/track.cc
+++ b/libs/ardour/track.cc
@@ -563,6 +563,12 @@ Track::alignment_style () const
return _diskstream->alignment_style ();
}
+AlignChoice
+Track::alignment_choice () const
+{
+ return _diskstream->alignment_choice ();
+}
+
framepos_t
Track::current_capture_start () const
{
@@ -611,6 +617,12 @@ Track::set_align_style (AlignStyle s)
_diskstream->set_align_style (s);
}
+void
+Track::set_align_choice (AlignChoice s)
+{
+ _diskstream->set_align_choice (s);
+}
+
uint32_t
Track::write_data_count () const
{