summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorBent Bisballe Nyeng <deva@aasimon.org>2016-01-28 19:20:20 +0100
committerBent Bisballe Nyeng <deva@aasimon.org>2016-01-28 19:20:20 +0100
commit9e5d4a70ad5a7ce73e02e6eb98735755ffdd5694 (patch)
treef644a8b9ba89ff0cefe4b0b9e005010c4b62ff59 /src
parent6f96e034906f06439b6e3e00517f03927264a8f4 (diff)
Revert files that shouldn't have been changed in this branch...
Diffstat (limited to 'src')
-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__*/