summaryrefslogtreecommitdiffstats
path: root/src/ServerInfoManager.hh
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2004-09-16 00:02:32 +0000
committerLennart Poettering <lennart@poettering.net>2004-09-16 00:02:32 +0000
commit0a84f669d3d4c72c498b01b999dd89af7f917480 (patch)
tree77960fce506b9297682ef79be9274467f595bf8a /src/ServerInfoManager.hh
parentae4653849a9a5990caf84d5ecd1466435760dd60 (diff)
update to new API
show source and source_output latencies ad kill buttons to client/sink_input/source_output (incomplete) add vumeter buttons to sink/source git-svn-id: file:///home/lennart/svn/public/paman/trunk@33 cdefa82f-4ce1-0310-97f5-ab6066f37c3c
Diffstat (limited to 'src/ServerInfoManager.hh')
-rw-r--r--src/ServerInfoManager.hh7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/ServerInfoManager.hh b/src/ServerInfoManager.hh
index 3395de1..01e9394 100644
--- a/src/ServerInfoManager.hh
+++ b/src/ServerInfoManager.hh
@@ -41,6 +41,7 @@ public:
uint32_t owner_module;
pa_volume_t volume;
pa_usec_t latency;
+ Glib::ustring monitor_source_name;
Gtk::TreeRowReference treeRef, sinkComboBoxTreeRef;
@@ -60,6 +61,7 @@ public:
struct pa_sample_spec sample_spec;
uint32_t owner_module;
uint32_t monitor_of_sink;
+ pa_usec_t latency;
Gtk::TreeRowReference treeRef;
SourceWindow *window;
@@ -136,6 +138,7 @@ public:
uint32_t source;
uint32_t client;
uint32_t owner_module;
+ pa_usec_t buffer_usec, source_usec;
Gtk::TreeRowReference treeRef;
@@ -155,6 +158,8 @@ public:
Glib::ustring name;
struct pa_sample_spec sample_spec;
uint32_t volume, duration, bytes;
+ bool lazy;
+ Glib::ustring filename;
Gtk::TreeRowReference treeRef;
@@ -202,6 +207,8 @@ public:
void showStatWindow();
void playSample(uint32_t sample, uint32_t sink);
+
+ void runVolumeMeter(const Glib::ustring &source);
protected:
std::map<int, SinkInfo*> sinks;