summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/server/AudioBuffer.cpp7
-rw-r--r--src/server/AudioBuffer.hpp2
2 files changed, 0 insertions, 9 deletions
diff --git a/src/server/AudioBuffer.cpp b/src/server/AudioBuffer.cpp
index f08e0e45..16a79bc0 100644
--- a/src/server/AudioBuffer.cpp
+++ b/src/server/AudioBuffer.cpp
@@ -54,13 +54,6 @@ AudioBuffer::AudioBuffer(BufferFactory& bufs, LV2_URID type, uint32_t size)
clear();
}
-void
-AudioBuffer::resize(uint32_t size)
-{
- Buffer::resize(size);
- clear();
-}
-
/** Empty (ie zero) the buffer.
*/
void
diff --git a/src/server/AudioBuffer.hpp b/src/server/AudioBuffer.hpp
index 51fb9ec2..b4d023c9 100644
--- a/src/server/AudioBuffer.hpp
+++ b/src/server/AudioBuffer.hpp
@@ -70,8 +70,6 @@ public:
void prepare_read(Context& context);
void prepare_write(Context& context) {}
- void resize(uint32_t size);
-
private:
enum State { OK, HALF_SET_CYCLE_1, HALF_SET_CYCLE_2 };