treewide: replace !strcmp() with spa_streq()

This change is only done in source files for now, header files will be done
separately.
This commit is contained in:
Peter Hutterer 2021-05-18 11:40:50 +10:00
parent 7697ed0757
commit 95a84e797a
28 changed files with 239 additions and 221 deletions

View file

@ -304,7 +304,7 @@ static struct node *alsa_create_node(struct device *device, uint32_t id,
profile = "unknown";
profile_desc = pw_properties_get(node->props, "device.profile.description");
if (!strcmp(stream, "capture"))
if (spa_streq(stream, "capture"))
node->direction = PW_DIRECTION_OUTPUT;
else
node->direction = PW_DIRECTION_INPUT;