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/ServerInfoManager.hh | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'src/ServerInfoManager.hh') diff --git a/src/ServerInfoManager.hh b/src/ServerInfoManager.hh index 1b37e66..6467c05 100644 --- a/src/ServerInfoManager.hh +++ b/src/ServerInfoManager.hh @@ -58,9 +58,11 @@ public: Glib::ustring driver, name, description; uint32_t index; struct pa_sample_spec sample_spec; + struct pa_channel_map channel_map; uint32_t monitor_source; uint32_t owner_module; pa_cvolume volume; + int hw_volume_supported; pa_usec_t latency; Glib::ustring monitor_source_name; @@ -80,8 +82,11 @@ public: Glib::ustring driver, name, description; uint32_t index; struct pa_sample_spec sample_spec; + struct pa_channel_map channel_map; uint32_t owner_module; uint32_t monitor_of_sink; + pa_cvolume volume; + int hw_volume_supported; pa_usec_t latency; Gtk::TreeRowReference treeRef; @@ -133,6 +138,7 @@ public: Glib::ustring driver, name; uint32_t index; struct pa_sample_spec sample_spec; + struct pa_channel_map channel_map; uint32_t sink; uint32_t client; uint32_t owner_module; @@ -157,6 +163,7 @@ public: Glib::ustring driver, name; uint32_t index; struct pa_sample_spec sample_spec; + struct pa_channel_map channel_map; uint32_t source; uint32_t client; uint32_t owner_module; @@ -228,6 +235,7 @@ public: void removeSampleInfo(uint32_t index); void setSinkVolume(uint32_t index, pa_volume_t volume); + void setSourceVolume(uint32_t index, pa_volume_t volume); void setSinkInputVolume(uint32_t index, pa_volume_t volume); void showStatWindow(); -- cgit