summaryrefslogtreecommitdiff
path: root/src/audiooutputengine.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/audiooutputengine.h')
-rw-r--r--src/audiooutputengine.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/audiooutputengine.h b/src/audiooutputengine.h
index 8b2b768..7f15e49 100644
--- a/src/audiooutputengine.h
+++ b/src/audiooutputengine.h
@@ -50,6 +50,11 @@ public:
// Reimplement this if you wish to use internal buffer directly.
virtual sample_t *getBuffer(int ch) { return NULL; }
+
+ /*
+ * Overload this method to force engine to use different buffer size.
+ */
+ virtual size_t getBufferSize() { return 1024; }
};
#endif/*__DRUMGIZMO_AUDIOOUTPUTENGINE_H__*/