summaryrefslogtreecommitdiff
path: root/lv2/output_lv2.h
diff options
context:
space:
mode:
Diffstat (limited to 'lv2/output_lv2.h')
-rw-r--r--lv2/output_lv2.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/lv2/output_lv2.h b/lv2/output_lv2.h
index 1b4e8c9..272a78c 100644
--- a/lv2/output_lv2.h
+++ b/lv2/output_lv2.h
@@ -39,7 +39,7 @@ public:
class OutputLV2 : public AudioOutputEngine {
public:
- OutputLV2();
+ OutputLV2(double sample_rate);
~OutputLV2();
bool init(Channels channels);
@@ -54,9 +54,13 @@ public:
void post(size_t nsamples);
sample_t *getBuffer(int c);
+
+ size_t samplerate();
// sample_t *outputPort[NUM_OUTPUTS];
OutputPort outputPorts[NUM_OUTPUTS];
+
+ double sample_rate;
};
#endif/*__DRUMGIZMO_OUTPUT_LV2_H__*/