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>2015-07-30 18:22:16 +0200
commit9a2da5246960c024907cbf3c4cd9fde61a329207 (patch)
tree333820813484184bcba5d1534fdc5f2ff6ecbe5a /drumgizmo/audiooutputenginedl.h
parent509568c03ca4b64266675735d677267ec265c49e (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 75460f3..62d94f8 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;
output_create_func_t o_create;