summaryrefslogtreecommitdiff
path: root/libs/ardour/session.cc
diff options
context:
space:
mode:
authorPaul Davis <paul@linuxaudiosystems.com>2012-03-16 16:51:54 +0000
committerPaul Davis <paul@linuxaudiosystems.com>2012-03-16 16:51:54 +0000
commit416e3c701e81027e7581a290ec0326529dc3d069 (patch)
tree6e5573efb53975f2b5104c64217e2beebfedd699 /libs/ardour/session.cc
parent8b03f1790a3adfbedb6686f2916eba39f15bbc6f (diff)
put back revised version of Route::has_external_redirects() and use it to give a warning when attempting to freeze a track with sends/inserts/returns
git-svn-id: svn://localhost/ardour2/branches/3.0@11707 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'libs/ardour/session.cc')
-rw-r--r--libs/ardour/session.cc7
1 files changed, 4 insertions, 3 deletions
diff --git a/libs/ardour/session.cc b/libs/ardour/session.cc
index 2f57af4923..934da39fc0 100644
--- a/libs/ardour/session.cc
+++ b/libs/ardour/session.cc
@@ -3969,13 +3969,14 @@ Session::write_one_track (AudioTrack& track, framepos_t start, framepos_t end,
srcs.push_back (fsource);
}
- /* tell redirects that care that we are about to use a much larger blocksize */
+ /* tell redirects that care that we are about to use a much larger
+ * blocksize. this will flush all plugins too, so that they are ready
+ * to be used for this process.
+ */
need_block_size_reset = true;
track.set_block_size (chunk_size);
- /* XXX need to flush all redirects */
-
position = start;
to_do = len;