Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions src/modules/rdp/module-rdp-sink.c
Original file line number Diff line number Diff line change
Expand Up @@ -313,6 +313,12 @@ static int sink_process_msg(pa_msgobject *o, int code, void *data,
case PA_SINK_MESSAGE_SET_STATE:
switch (*(int*)(data))
{
case PA_SINK_RUNNING:
pa_log_debug("Sink Running");
if (u->fd == -1) {
open_socket(u);
}
u->timestamp = pa_rtclock_now();
case PA_SINK_IDLE:
case PA_SINK_SUSPENDED:
reset_latency(u);
Expand Down