aboutsummaryrefslogtreecommitdiffstats
path: root/src/pcm/PcmResampleLibsamplerate.cxx
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/pcm/PcmResampleLibsamplerate.cxx5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/pcm/PcmResampleLibsamplerate.cxx b/src/pcm/PcmResampleLibsamplerate.cxx
index 2ffe4b8c4..1986e8821 100644
--- a/src/pcm/PcmResampleLibsamplerate.cxx
+++ b/src/pcm/PcmResampleLibsamplerate.cxx
@@ -19,12 +19,11 @@
#include "config.h"
#include "PcmResampleInternal.hxx"
+#include "util/ASCII.hxx"
#include "util/Error.hxx"
#include "util/Domain.hxx"
#include "Log.hxx"
-#include <glib.h>
-
#include <assert.h>
#include <stdlib.h>
#include <string.h>
@@ -54,7 +53,7 @@ lsr_parse_converter(const char *s)
if (name == nullptr)
break;
- if (g_ascii_strncasecmp(s, name, length) == 0) {
+ if (StringEqualsCaseASCII(s, name, length)) {
lsr_converter = i;
return true;
}