mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-11-06 13:29:56 -05:00
modules: Use pa_streq instead of strcmp.
This commit is contained in:
parent
e0c16af551
commit
e5954aca8e
19 changed files with 45 additions and 45 deletions
|
|
@ -85,7 +85,7 @@ static int ca_device_added(struct pa_module *m, AudioObjectID id) {
|
|||
size = sizeof(tmp);
|
||||
err = AudioObjectGetPropertyData(id, &property_address, 0, NULL, &size, tmp);
|
||||
|
||||
if (!err && strcmp(tmp, "pulseaudio.org") == 0)
|
||||
if (!err && pa_streq(tmp, "pulseaudio.org"))
|
||||
return 0;
|
||||
|
||||
if (u->ioproc_frames)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue