summaryrefslogtreecommitdiff
path: root/src/audiooutputengine.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/audiooutputengine.h')
-rw-r--r--src/audiooutputengine.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/audiooutputengine.h b/src/audiooutputengine.h
index 864ecc5..d2d2310 100644
--- a/src/audiooutputengine.h
+++ b/src/audiooutputengine.h
@@ -45,6 +45,9 @@ public:
virtual void pre(size_t nsamples) = 0;
virtual void run(int ch, sample_t *samples, size_t nsamples) = 0;
virtual void post(size_t nsamples) = 0;
+
+ // Reimplement this if you wish to use internal buffer directly.
+ virtual sample_t *getBuffer(int ch) { return NULL; }
};
#endif/*__DRUMGIZMO_AUDIOOUTPUTENGINE_H__*/