From 096fbcf0693987364257f3be6480955f47b8c124 Mon Sep 17 00:00:00 2001 From: twinaphex Date: Mon, 29 Aug 2016 18:47:43 +0200 Subject: [PATCH] Use string_is_equal --- audio/drivers/alsathread.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/audio/drivers/alsathread.c b/audio/drivers/alsathread.c index 59ac98eb55..1f638f63c6 100644 --- a/audio/drivers/alsathread.c +++ b/audio/drivers/alsathread.c @@ -22,6 +22,7 @@ #include #include +#include #include "../audio_driver.h" #include "../../configuration.h" @@ -371,7 +372,7 @@ static void *alsa_device_list_new(void *data) /* description of device IOID - input / output identifcation * ("Input" or "Output"), NULL means both) */ - if (!io || !strcmp(io,"Output")) + if (!io || string_is_equal(io,"Output")) string_list_append(s, name, attr); if (name)