mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-01 22:58:50 -04:00
treewide: replace strcmp() != 0 with !spa_streq
This change is only done in source files for now, header files will be done separately.
This commit is contained in:
parent
95a84e797a
commit
522f87d5ea
40 changed files with 83 additions and 79 deletions
|
|
@ -869,7 +869,7 @@ static int hdmi_eld_changed(snd_mixer_elem_t *melem, unsigned int mask)
|
|||
changed |= old_monitor_name != NULL;
|
||||
pa_proplist_unset(p->proplist, PA_PROP_DEVICE_PRODUCT_NAME);
|
||||
} else {
|
||||
changed |= (old_monitor_name == NULL) || (strcmp(old_monitor_name, eld.monitor_name) != 0);
|
||||
changed |= (old_monitor_name == NULL) || (!spa_streq(old_monitor_name, eld.monitor_name));
|
||||
pa_proplist_sets(p->proplist, PA_PROP_DEVICE_PRODUCT_NAME, eld.monitor_name);
|
||||
}
|
||||
pa_proplist_as_dict(p->proplist, &p->port.props);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue