Browse Source

use pa_log_debug instead of pa_log, a little bit too noisy

pull/15/head
Koichiro IWAO 6 years ago
parent
commit
389667c3e3
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      src/module-xrdp-sink.c

+ 2
- 2
src/module-xrdp-sink.c View File

@ -319,14 +319,14 @@ static int data_send(struct userdata *u, pa_memchunk *chunk) {
sink_socket = getenv("XRDP_PULSE_SINK_SOCKET");
if (sink_socket == NULL || sink_socket[0] == '\0')
{
pa_log("Could not obtain sink_socket from environment.");
pa_log_debug("Could not obtain sink_socket from environment.");
/* usually it doesn't reach here. if the socket name is not given
via environment variable, use hardcoded name as fallback */
snprintf(sink_socket, bytes, "xrdp_chansrv_audio_out_socket_%d", u->display_num);
}
else
{
pa_log("Obtained sink_socket from environment.");
pa_log_debug("Obtained sink_socket from environment.");
}
snprintf(s.sun_path, bytes, "%s/%s", socket_dir, sink_socket);
pa_log_debug("trying to connect to %s", s.sun_path);


Loading…
Cancel
Save