diff options
author | Robin Gareus <robin@gareus.org> | 2014-05-26 06:21:05 +0200 |
---|---|---|
committer | Robin Gareus <robin@gareus.org> | 2014-05-26 06:56:04 +0200 |
commit | bb727f4588a5ecdcf750a19bab08db5d6c71653e (patch) | |
tree | 31d3b8700934794608b1ec254de69bff19442fc3 /libs/ardour/buffer_manager.cc | |
parent | 491f3f6e448f5cde73a1af8bac22990dffe55106 (diff) |
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.
Diffstat (limited to 'libs/ardour/buffer_manager.cc')
-rw-r--r-- | libs/ardour/buffer_manager.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libs/ardour/buffer_manager.cc b/libs/ardour/buffer_manager.cc index c8819e41cb..c221837af8 100644 --- a/libs/ardour/buffer_manager.cc +++ b/libs/ardour/buffer_manager.cc @@ -75,11 +75,11 @@ BufferManager::put_thread_buffers (ThreadBuffers* tbp) } void -BufferManager::ensure_buffers (ChanCount howmany) +BufferManager::ensure_buffers (ChanCount howmany, size_t custom) { /* this is protected by the audioengine's process lock: we do not */ for (ThreadBufferList::iterator i = thread_buffers_list->begin(); i != thread_buffers_list->end(); ++i) { - (*i)->ensure_buffers (howmany); + (*i)->ensure_buffers (howmany, custom); } } |