Enumerate all active or advertised speakers

We need to include speakers that are currently active in our enumeration,
even if they're not advertising anymore; until the session is declared failed
by RAOP, we are streaming to this device, even if it's not advertising
anymore - which may be a temporary condition.
This commit is contained in:
Julien BLACHE 2010-11-19 23:02:53 +01:00
parent c70caad87e
commit 45e3d55ee0

View File

@ -2742,7 +2742,7 @@ player_speaker_enumerate(spk_enum_cb cb, void *arg)
for (rd = dev_list; rd; rd = rd->next)
{
if (rd->advertised)
if (rd->advertised || rd->selected)
cb(rd->id, rd->name, rd->selected, rd->has_password, arg);
}