summaryrefslogtreecommitdiff
path: root/libs/ardour/track.cc
diff options
context:
space:
mode:
authorCarl Hetherington <carl@carlh.net>2010-10-08 14:54:16 +0000
committerCarl Hetherington <carl@carlh.net>2010-10-08 14:54:16 +0000
commitba0458cf1f6c69366e89631d8fff916ad183d768 (patch)
tree47bc77224638eac6d7a9e8179e03e5fa0a142665 /libs/ardour/track.cc
parenta029a112a6e370082e89b74cb94089505a9323af (diff)
Update recorded MIDI regions as notes arrive. Fixes one cause of infinite note-lengths during record. Fix various problems with multiple captures of MIDI during one pass.
git-svn-id: svn://localhost/ardour2/branches/3.0@7887 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'libs/ardour/track.cc')
-rw-r--r--libs/ardour/track.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/libs/ardour/track.cc b/libs/ardour/track.cc
index 46517e1752..72fcac8c46 100644
--- a/libs/ardour/track.cc
+++ b/libs/ardour/track.cc
@@ -528,7 +528,7 @@ Track::overwrite_existing_buffers ()
}
framecnt_t
-Track::get_captured_frames (uint32_t n)
+Track::get_captured_frames (uint32_t n) const
{
return _diskstream->get_captured_frames (n);
}
@@ -588,7 +588,7 @@ Track::n_channels ()
}
framepos_t
-Track::get_capture_start_frame (uint32_t n)
+Track::get_capture_start_frame (uint32_t n) const
{
return _diskstream->get_capture_start_frame (n);
}