diff options
author | Bent Bisballe Nyeng <deva@aasimon.org> | 2012-01-23 20:33:17 +0100 |
---|---|---|
committer | Bent Bisballe Nyeng <deva@aasimon.org> | 2012-01-23 20:33:17 +0100 |
commit | cdbae7738c35268fd9a208be0618c4ea11475935 (patch) | |
tree | 60acd18fcf988d5bfa31559520816aa0735b6e6c /src/audiooutputengine.h | |
parent | f58c2e7aee2e392bdeea68abea960db0178b0a98 (diff) |
New config interface (xml). Instruments now contains pointers (fix memleak).
Diffstat (limited to 'src/audiooutputengine.h')
-rw-r--r-- | src/audiooutputengine.h | 3 |
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__*/ |