diff options
Diffstat (limited to 'src/ServerInfoManager.cc')
-rw-r--r-- | src/ServerInfoManager.cc | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/ServerInfoManager.cc b/src/ServerInfoManager.cc index bd16938..55a3f3f 100644 --- a/src/ServerInfoManager.cc +++ b/src/ServerInfoManager.cc @@ -167,7 +167,8 @@ SinkInputInfo::SinkInputInfo(const struct pa_sink_input_info &i) : client(i.client), owner_module(i.owner_module), volume(i.volume), - latency(i.latency), + buffer_usec(i.buffer_usec), + sink_usec(i.sink_usec), window(NULL) { } @@ -184,7 +185,8 @@ void SinkInputInfo::update(const struct pa_sink_input_info &i) { client = i.client; owner_module = i.owner_module; volume = i.volume; - latency = i.latency; + buffer_usec = i.buffer_usec; + sink_usec = i.buffer_usec; if (window) window->updateInfo(*this); |