From 41fe8530d1c1c83e1db207dae2f0be83e7426ce9 Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Fri, 3 Sep 2004 23:55:25 +0000 Subject: 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 --- src/ServerInfoManager.cc | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/ServerInfoManager.cc') 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); -- cgit