diff options
author | David Robillard <d@drobilla.net> | 2015-11-14 18:47:19 -0500 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2016-10-02 12:24:56 -0400 |
commit | a077166ec6c31ad4aaab738b9dffc139bf3a4d50 (patch) | |
tree | 8e32e8003bebe0d879b1f9879f3e88c90b9d1b26 /src/server/BufferFactory.cpp | |
parent | c73c877f8bd09e0d5a6663ea5ba32a54465f5376 (diff) | |
download | ingen-a077166ec6c31ad4aaab738b9dffc139bf3a4d50.tar.gz ingen-a077166ec6c31ad4aaab738b9dffc139bf3a4d50.tar.bz2 ingen-a077166ec6c31ad4aaab738b9dffc139bf3a4d50.zip |
Replace Delay internal with simpler BlockDelay
Diffstat (limited to 'src/server/BufferFactory.cpp')
-rw-r--r-- | src/server/BufferFactory.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/server/BufferFactory.cpp b/src/server/BufferFactory.cpp index aeaa0d44..749e83d0 100644 --- a/src/server/BufferFactory.cpp +++ b/src/server/BufferFactory.cpp @@ -75,6 +75,12 @@ BufferFactory::audio_buffer_size(SampleCount nframes) } uint32_t +BufferFactory::audio_buffer_size() const +{ + return _engine.driver()->block_length() * sizeof(Sample); +} + +uint32_t BufferFactory::default_size(LV2_URID type) const { if (type == _uris.atom_Float) { |