diff options
Diffstat (limited to 'dgedit/canvastoollisten.h')
-rw-r--r-- | dgedit/canvastoollisten.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/dgedit/canvastoollisten.h b/dgedit/canvastoollisten.h index 74a7831..090d83b 100644 --- a/dgedit/canvastoollisten.h +++ b/dgedit/canvastoollisten.h @@ -46,9 +46,12 @@ public: volatile bool playing; volatile size_t pos; + void setVolume(double v); + private: ao_device *dev; Canvas *canvas; + double volume; }; class CanvasToolListen : public CanvasTool { @@ -63,6 +66,7 @@ public: public slots: void update(); + void setVolume(int v); private: Canvas *canvas; |