Skip to content

Commit

Permalink
WIP: add extra debugging
Browse files Browse the repository at this point in the history
  • Loading branch information
marmarek committed Dec 7, 2024
1 parent 97c9e36 commit 0030c81
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions pulse/pacat-simple-vchan.c
Original file line number Diff line number Diff line change
Expand Up @@ -857,11 +857,13 @@ static void control_socket_callback(pa_mainloop_api *UNUSED(a),
pacat_log("Failed to read the qdb watch");
return;
}
pacat_log("got watch event on %s", watch_path);
/* don't bother checking which watch fired, there is just one */
free(watch_path);

new_rec_allowed = is_rec_allowed_from_qdb(u);
if (new_rec_allowed >= 0) {
pacat_log("new rec allowed value: %d, old value %d", new_rec_allowed, u->rec_allowed);
g_mutex_lock(&u->prop_mutex);
if (new_rec_allowed != u->rec_allowed) {
u->rec_allowed = new_rec_allowed;
Expand Down

0 comments on commit 0030c81

Please sign in to comment.