diff options
author | Lennart Poettering <lennart@poettering.net> | 2006-04-10 17:14:45 +0000 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2006-04-10 17:14:45 +0000 |
commit | 9f205ae53d29127c54d416b5ca024fb625b1b950 (patch) | |
tree | 9abc0e2bd7917edf79670f230b6d4e477f09875c /src/ServerInfoManager.hh | |
parent | 2348be825542354e15a3dcc4f7f2581fa598c721 (diff) |
* 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
Diffstat (limited to 'src/ServerInfoManager.hh')
-rw-r--r-- | src/ServerInfoManager.hh | 8 |
1 files changed, 8 insertions, 0 deletions
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(); |