mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-12-17 08:56:49 -05:00
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:
parent
a39bfa4995
commit
0d6ba3a032
1 changed files with 1 additions and 0 deletions
|
|
@ -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->info.change_mask |= SPA_DEVICE_CHANGE_MASK_PARAMS;
|
||||||
this->params[IDX_Profile].flags ^= SPA_PARAM_INFO_SERIAL;
|
this->params[IDX_Profile].flags ^= SPA_PARAM_INFO_SERIAL;
|
||||||
this->params[IDX_Route].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);
|
emit_info(this, false);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue