summaryrefslogtreecommitdiff
path: root/libs/ardour/session_state.cc
diff options
context:
space:
mode:
Diffstat (limited to 'libs/ardour/session_state.cc')
-rw-r--r--libs/ardour/session_state.cc4
1 files changed, 4 insertions, 0 deletions
diff --git a/libs/ardour/session_state.cc b/libs/ardour/session_state.cc
index 2a8bdf2fde..45a51e813b 100644
--- a/libs/ardour/session_state.cc
+++ b/libs/ardour/session_state.cc
@@ -190,6 +190,10 @@ Session::first_stage_init (string fullpath, string snapshot_name)
pending_abort = false;
layer_model = MoveAddHigher;
xfade_model = ShortCrossfade;
+
+ /* allocate conversion buffers */
+ _conversion_buffers[ButlerContext] = new char[DiskStream::disk_io_frames() * 4];
+ _conversion_buffers[TransportContext] = new char[DiskStream::disk_io_frames() * 4];
/* default short fade = 15ms */