diff options
Diffstat (limited to 'src/engine/PortImpl.hpp')
-rw-r--r-- | src/engine/PortImpl.hpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/engine/PortImpl.hpp b/src/engine/PortImpl.hpp index a2eaf2c9..338c7482 100644 --- a/src/engine/PortImpl.hpp +++ b/src/engine/PortImpl.hpp @@ -81,6 +81,9 @@ public: return buf; } } + inline Buffer* prepared_buffer(uint32_t voice) const { + return _prepared_buffers->at(voice); + } /** Called once per process cycle */ virtual void pre_process(ProcessContext& context) = 0; |