X-Git-Url: https://main.carlh.net/gitweb/?a=blobdiff_plain;f=libs%2Fardour%2Fthread_buffers.cc;h=2336ee50bc866327ce802a8323788e59d2a0092d;hb=8367b7cab344e75908744a95fda860c7fadff420;hp=b51576bfc920e1e46a5b908f38b5fe58dd106182;hpb=bb727f4588a5ecdcf750a19bab08db5d6c71653e;p=ardour.git diff --git a/libs/ardour/thread_buffers.cc b/libs/ardour/thread_buffers.cc index b51576bfc9..2336ee50bc 100644 --- a/libs/ardour/thread_buffers.cc +++ b/libs/ardour/thread_buffers.cc @@ -33,6 +33,7 @@ ThreadBuffers::ThreadBuffers () , route_buffers (new BufferSet) , mix_buffers (new BufferSet) , gain_automation_buffer (0) + , trim_automation_buffer (0) , send_gain_automation_buffer (0) , pan_automation_buffer (0) , npan_buffers (0) @@ -79,6 +80,8 @@ ThreadBuffers::ensure_buffers (ChanCount howmany, size_t custom) delete [] gain_automation_buffer; gain_automation_buffer = new gain_t[audio_buffer_size]; + delete [] trim_automation_buffer; + trim_automation_buffer = new gain_t[audio_buffer_size]; delete [] send_gain_automation_buffer; send_gain_automation_buffer = new gain_t[audio_buffer_size];