From bb727f4588a5ecdcf750a19bab08db5d6c71653e Mon Sep 17 00:00:00 2001 From: Robin Gareus Date: Mon, 26 May 2014 06:21:05 +0200 Subject: allow to set custom thread-buffer size This is needed for gain and pan automation buffers as well as silent and scratch buffers when bouncing or exporting with larger chunk size than the current engine period. --- libs/ardour/ardour/buffer_manager.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libs/ardour/ardour/buffer_manager.h') diff --git a/libs/ardour/ardour/buffer_manager.h b/libs/ardour/ardour/buffer_manager.h index f5a3935ead..c73b59b763 100644 --- a/libs/ardour/ardour/buffer_manager.h +++ b/libs/ardour/ardour/buffer_manager.h @@ -40,7 +40,7 @@ public: static ThreadBuffers* get_thread_buffers (); static void put_thread_buffers (ThreadBuffers*); - static void ensure_buffers (ChanCount howmany = ChanCount::ZERO); + static void ensure_buffers (ChanCount howmany = ChanCount::ZERO, size_t custom = 0); private: static Glib::Threads::Mutex rb_mutex; -- cgit v1.2.3