Quick notes (from module-tunnel.c)
for (uint32_t j = 0; j < n_ports; j++) { uint32_t priority;
if (pa_tagstruct_gets(t, &s) < 0 || /* name */ pa_tagstruct_gets(t, &s) < 0 || /* description */ pa_tagstruct_getu32(t, &priority) < 0) {
pa_log("Parse failure"); goto fail; }
<----- Must add port available status here }
Quick notes (from module-tunnel.c)
for (uint32_t j = 0; j < n_ports; j++) {
uint32_ t priority;
if (pa_tagstruct_ gets(t, &s) < 0 || /* name */
pa_tagstruct_ gets(t, &s) < 0 || /* description */
pa_tagstruct_ getu32( t, &priority) < 0) {
}
<----- Must add port available status here
}