alsa-acp-device: make sure EnumRoute is updated on profile change

When using UCM profiles, ports can have different priorities between 
profiles, meaning EnumRoute should be updated too.
This commit is contained in:
Arnaud Ferraris 2021-01-04 17:00:22 +01:00 committed by Wim Taymans
parent a39bfa4995
commit 0d6ba3a032

View file

@ -670,6 +670,7 @@ static void card_profile_changed(void *data, uint32_t old_index, uint32_t new_in
this->info.change_mask |= SPA_DEVICE_CHANGE_MASK_PARAMS;
this->params[IDX_Profile].flags ^= SPA_PARAM_INFO_SERIAL;
this->params[IDX_Route].flags ^= SPA_PARAM_INFO_SERIAL;
this->params[IDX_EnumRoute].flags ^= SPA_PARAM_INFO_SERIAL;
emit_info(this, false);
}