summaryrefslogtreecommitdiff
path: root/drumgizmo/audiooutputenginedl.h
diff options
context:
space:
mode:
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};