Microphone indicator in Xfce4 is no longer visible for telegram-desktop since 0.3.80
Since 13caae49 the microphone indicator is no longer visible in xfce4-pulseaudio-plugin 0.4.7.
It is because of the filter for some other apps https://gitlab.xfce.org/panel-plugins/xfce4-pulseaudio-plugin/-/commit/b42363fb8010a81b31399dbaa4d9d5fc2f14fb8f, but now it affects other apps which should display the microphone indicator.
When I add a fprintf(stderr, "index: %d, name: %s, source index: %d\n", i->index, i->name, i->source);
into a xfce4-pulseaudio-plugin code, before the 13caae49 I can see for Telegram:
index: 87, name: Capture Stream, source index: -1
index: 87, name: Capture Stream, source index: -1
index: 87, name: Capture Stream, source index: -1
index: 87, name: Capture Stream, source index: -1
index: 87, name: Capture Stream, source index: 55
but after 13caae49 I can see for Telegram:
index: 77, name: Capture Stream, source index: -1
index: 77, name: Capture Stream, source index: -1
index: 77, name: Capture Stream, source index: -1
index: 77, name: Capture Stream, source index: -1
I don't get any event after source index appears for Telegram. Adding SPA_PARAM_Latency
to switch triggers the it.