mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-12-16 08:56:45 -05:00
acp: improve debug
This commit is contained in:
parent
0da406d304
commit
38276d126c
4 changed files with 40 additions and 33 deletions
|
|
@ -662,7 +662,9 @@ static void card_profile_available(void *data, uint32_t index,
|
|||
struct impl *this = data;
|
||||
struct acp_card *card = this->card;
|
||||
struct acp_card_profile *p = card->profiles[index];
|
||||
spa_log_info(this->log, "card profile %s available %d", p->name, available);
|
||||
|
||||
spa_log_info(this->log, "card profile %s available %s -> %s", p->name,
|
||||
acp_available_str(old), acp_available_str(available));
|
||||
|
||||
this->info.change_mask |= SPA_DEVICE_CHANGE_MASK_PARAMS;
|
||||
this->params[IDX_EnumProfile].flags ^= SPA_PARAM_INFO_SERIAL;
|
||||
|
|
@ -696,8 +698,9 @@ static void card_port_available(void *data, uint32_t index,
|
|||
struct impl *this = data;
|
||||
struct acp_card *card = this->card;
|
||||
struct acp_port *p = card->ports[index];
|
||||
spa_log_info(this->log, "card port %s available %d->%d",
|
||||
p->name, old, available);
|
||||
|
||||
spa_log_info(this->log, "card port %s available %s -> %s", p->name,
|
||||
acp_available_str(old), acp_available_str(available));
|
||||
|
||||
this->info.change_mask |= SPA_DEVICE_CHANGE_MASK_PARAMS;
|
||||
this->params[IDX_EnumRoute].flags ^= SPA_PARAM_INFO_SERIAL;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue