summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2012-05-22 20:47:16 +0000
committerDavid Robillard <d@drobilla.net>2012-05-22 20:47:16 +0000
commit17cd41a57bd27d4097983a5caae7a5f22614b91e (patch)
tree671d9047d80ea4cb29e8f71925a4b9b55f801a69
parenta147df82930aa187b7f1f8a4e6cf4459e500b087 (diff)
downloadingen-17cd41a57bd27d4097983a5caae7a5f22614b91e.tar.gz
ingen-17cd41a57bd27d4097983a5caae7a5f22614b91e.tar.bz2
ingen-17cd41a57bd27d4097983a5caae7a5f22614b91e.zip
Remove redundant method.
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@4435 a436a847-0d15-0410-975c-d299462d15a1
-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 };