Skip to content

Commit

Permalink
Fix send data from network to ALSA on hw auto announce
Browse files Browse the repository at this point in the history
  • Loading branch information
davidmoreno committed Dec 15, 2024
1 parent 66d57d7 commit b306a45
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/hwautoannounce.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -138,12 +138,12 @@ void HwAutoAnnounce::added_port_announcement(const std::string &name,
INFO("Auto announcing {} {} {}", name, type, port);
auto annport = aseq_t::port_t{aseq->client_id, peer->port};
auto con1 = aseq->connect(port, annport);
// auto con2 = aseq->connect(annport, port);
auto con2 = aseq->connect(annport, port);
// FIXME should be removed from here, or it may grow for each new
// client. There is no real problem as will never disconnect, but it is
// not clean.
connections.push_back(std::move(con1));
// connections.push_back(std::move(con2));
connections.push_back(std::move(con2));

connected = true;
});
Expand Down

0 comments on commit b306a45

Please sign in to comment.