summaryrefslogtreecommitdiff
path: root/drumgizmo/audiooutputenginedl.h
diff options
context:
space:
mode:
authorBent Bisballe Nyeng <deva@aasimon.org>2015-07-30 18:22:16 +0200
committerBent Bisballe Nyeng <deva@aasimon.org>2016-01-20 13:31:10 +0100
commitc3841a8cec9d239bca27a113c013a032dfc658bd (patch)
treec5ce7fab48505ac383ac72acd80de030c8f18a2d /drumgizmo/audiooutputenginedl.h
parent91f5d293bce4a15a1883d0693f478917bb256b40 (diff)
Add free-wheel mode for Jack (untested).
Diffstat (limited to 'drumgizmo/audiooutputenginedl.h')
-rw-r--r--drumgizmo/audiooutputenginedl.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/drumgizmo/audiooutputenginedl.h b/drumgizmo/audiooutputenginedl.h
index 4b31015..39525fa 100644
--- a/drumgizmo/audiooutputenginedl.h
+++ b/drumgizmo/audiooutputenginedl.h
@@ -48,6 +48,8 @@ typedef void (*output_post_func_t)(void*, size_t);
typedef size_t (*output_bufsize_func_t)(void*);
typedef size_t (*output_samplerate_func_t)(void*);
+class DrumGizmo;
+
class AudioOutputEngineDL : public AudioOutputEngine {
public:
AudioOutputEngineDL(std::string name);
@@ -67,6 +69,8 @@ public:
size_t getBufferSize();
size_t samplerate();
+ void setEngine(DrumGizmo* drumgizmo);
+
private:
void *ptr{nullptr};
output_create_func_t o_create{nullptr};