mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-11-07 13:30:03 -05:00
pulsecore: Use pa_streq instead of strcmp.
This commit is contained in:
parent
e5954aca8e
commit
96a52257a9
8 changed files with 27 additions and 22 deletions
|
|
@ -110,13 +110,13 @@ pa_bool_t pa_cpu_init_arm(pa_cpu_arm_flag_t *flags) {
|
|||
char *current;
|
||||
|
||||
while ((current = pa_split_spaces(line, &state))) {
|
||||
if (!strcmp(current, "vfp"))
|
||||
if (pa_streq(current, "vfp"))
|
||||
*flags |= PA_CPU_ARM_VFP;
|
||||
else if (!strcmp(current, "edsp"))
|
||||
else if (pa_streq(current, "edsp"))
|
||||
*flags |= PA_CPU_ARM_EDSP;
|
||||
else if (!strcmp(current, "neon"))
|
||||
else if (pa_streq(current, "neon"))
|
||||
*flags |= PA_CPU_ARM_NEON;
|
||||
else if (!strcmp(current, "vfpv3"))
|
||||
else if (pa_streq(current, "vfpv3"))
|
||||
*flags |= PA_CPU_ARM_VFPV3;
|
||||
|
||||
pa_xfree(current);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue