summaryrefslogtreecommitdiffstats
path: root/src/streamwidget.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/streamwidget.h')
-rw-r--r--src/streamwidget.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/streamwidget.h b/src/streamwidget.h
index b6f49c8..da4c8b8 100644
--- a/src/streamwidget.h
+++ b/src/streamwidget.h
@@ -28,14 +28,18 @@
#include <gtkmm.h>
#include <libglademm.h>
+#include <pulse/pulseaudio.h>
+
#include "minimalstreamwidget.h"
+class ChannelWidget;
+
class StreamWidget : public MinimalStreamWidget {
public:
StreamWidget(BaseObjectType* cobject, const Glib::RefPtr<Gnome::Glade::Xml>& x);
void setChannelMap(const pa_channel_map &m, bool can_decibel);
- void setVolume(const pa_cvolume &volume, bool force);
+ void setVolume(const pa_cvolume &volume, bool force = false);
virtual void updateChannelVolume(int channel, pa_volume_t v);
Gtk::ToggleButton *lockToggleButton, *muteToggleButton;