Another not-quite-there-but-better commit.
[ardour.git] / libs / ardour / session.cc
index ccf88ff2ac07515ca5a6a9997520874de6dc0a73..a374e10a4f424932e0595eab5aca71caa2503e20 100644 (file)
@@ -3678,6 +3678,9 @@ Session::tempo_map_changed (Change ignored)
 void
 Session::ensure_buffers (ChanCount howmany)
 {
+       if (current_block_size == 0)
+               return; // too early? (is this ok?)
+
        // We need at least 1 MIDI scratch buffer to mix/merge
        if (howmany.n_midi() < 1)
                howmany.set_midi(1);