summaryrefslogtreecommitdiffstats
path: root/sesman/chansrv/pulse
diff options
context:
space:
mode:
authorJay Sorg <jay.sorg@gmail.com>2013-05-12 18:03:32 -0700
committerJay Sorg <jay.sorg@gmail.com>2013-05-12 18:03:32 -0700
commit21df0406d7e13bf85b5c5ca99f89edb2b9a55f15 (patch)
treeab6d925f21ea4f637ba40a96f0f9dd38c13f7f11 /sesman/chansrv/pulse
parent8c9fe9452f822db29517c808e3607c19ca7847ba (diff)
downloadxrdp-proprietary-21df0406d7e13bf85b5c5ca99f89edb2b9a55f15.tar.gz
xrdp-proprietary-21df0406d7e13bf85b5c5ca99f89edb2b9a55f15.zip
pulse work and cleanup
Diffstat (limited to 'sesman/chansrv/pulse')
-rw-r--r--sesman/chansrv/pulse/module-xrdp-sink.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sesman/chansrv/pulse/module-xrdp-sink.c b/sesman/chansrv/pulse/module-xrdp-sink.c
index 37ed8169..f6650635 100644
--- a/sesman/chansrv/pulse/module-xrdp-sink.c
+++ b/sesman/chansrv/pulse/module-xrdp-sink.c
@@ -141,6 +141,7 @@ static int sink_process_msg(pa_msgobject *o, int code, void *data,
case PA_SINK_MESSAGE_SET_STATE: /* 9 */
if (PA_PTR_TO_UINT(data) == PA_SINK_RUNNING) /* 0 */ {
pa_log("sink_process_msg: running");
+
u->timestamp = pa_rtclock_now();
} else {
pa_log("sink_process_msg: not running");