summaryrefslogtreecommitdiffstats
path: root/src/ServerInfoManager.cc
diff options
context:
space:
mode:
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);