summaryrefslogtreecommitdiffstats
path: root/src/ServerInfoManager.cc
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2004-09-03 23:55:25 +0000
committerLennart Poettering <lennart@poettering.net>2004-09-03 23:55:25 +0000
commit41fe8530d1c1c83e1db207dae2f0be83e7426ce9 (patch)
treed705ea490b2927ad5f61d424028def22289e5b9a /src/ServerInfoManager.cc
parent2b3c1967c118346c1d73491877cc346e142191e3 (diff)
show size of sample cache in stat window
show size in sample window git-svn-id: file:///home/lennart/svn/public/paman/trunk@28 cdefa82f-4ce1-0310-97f5-ab6066f37c3c
Diffstat (limited to 'src/ServerInfoManager.cc')
-rw-r--r--src/ServerInfoManager.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/ServerInfoManager.cc b/src/ServerInfoManager.cc
index 55a3f3f..be934f8 100644
--- a/src/ServerInfoManager.cc
+++ b/src/ServerInfoManager.cc
@@ -249,6 +249,7 @@ SampleInfo::SampleInfo(const struct pa_sample_info &i) :
sample_spec(i.sample_spec),
volume(i.volume),
duration(i.duration),
+ bytes(i.bytes),
window(NULL) {
}
@@ -263,6 +264,7 @@ void SampleInfo::update(const struct pa_sample_info &i) {
sample_spec = i.sample_spec;
volume = i.volume;
duration = i.duration;
+ bytes = i.bytes;
if (window)
window->updateInfo(*this);