From 9f205ae53d29127c54d416b5ca024fb625b1b950 Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Mon, 10 Apr 2006 17:14:45 +0000 Subject: * add volume control for sources * add channel map information to sinks/source/sink inputs/source outputs git-svn-id: file:///home/lennart/svn/public/paman/trunk@54 cdefa82f-4ce1-0310-97f5-ab6066f37c3c --- src/SourceWindow.hh | 17 ++++++++++++++--- 1 file changed, 14 insertions(+), 3 deletions(-) (limited to 'src/SourceWindow.hh') diff --git a/src/SourceWindow.hh b/src/SourceWindow.hh index 7cddff3..05e5167 100644 --- a/src/SourceWindow.hh +++ b/src/SourceWindow.hh @@ -34,25 +34,36 @@ public: *descriptionLabel, *indexLabel, *sampleTypeLabel, + *channelMapLabel, *ownerModuleLabel, *monitorOfSinkLabel, - *latencyLabel; + *latencyLabel, + *volumeLabel; Gtk::Button *closeButton, *toParentSinkButton, *toOwnerModuleButton, + *volumeResetButton, + *volumeMuteButton, *volumeMeterButton; - uint32_t monitor_of_sink, owner_module; + Gtk::HScale *volumeScale; + + uint32_t index, monitor_of_sink, owner_module; Glib::ustring source_name; + bool scaleEnabled; void updateInfo(const SourceInfo &i); virtual void onCloseButton(); virtual void onParentSinkButton(); virtual void onToOwnerModuleButton(); - virtual bool on_delete_event(GdkEventAny* e); + virtual void onVolumeScaleValueChanged(); + virtual void onVolumeResetButton(); + virtual void onVolumeMuteButton(); virtual void onVolumeMeterButton(); + + virtual bool on_delete_event(GdkEventAny* e); }; #endif -- cgit