Skip to content

Commit

Permalink
refactor: log when pw_receiver is ready
Browse files Browse the repository at this point in the history
  • Loading branch information
Curve committed Mar 31, 2024
1 parent 48f03b1 commit 26545d0
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions src/patchbay.impl.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ namespace vencord

if (receiver->recv_as<ready>().success)
{
logger::get()->trace("[patchbay] (init) pw_receiver is ready");
return;
}

Expand Down Expand Up @@ -434,8 +435,10 @@ namespace vencord
| ranges::views::filter(desireable) //
| ranges::views::filter(can_output);

// Some nodes update their props (metadata) over time, and there is no pipewire event to catch this
// (unless we have them bound constantly). Thus we re-bind them.
/*
* Some nodes update their props (metadata) over time, and to avoid binding the node constantly,
* we simply re-bind it to fetch the updates only when needed.
*/

for (auto &[id, node] : filtered)
{
Expand Down

0 comments on commit 26545d0

Please sign in to comment.