aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2009-05-07 12:19:01 +0200
committerMax Kellermann <max@duempel.org>2009-05-07 12:19:01 +0200
commit7c13249b5977f9de8137d3172fbeda8386f89557 (patch)
tree04936403cf2852b5aa82ab02e0589294a549b83f
parenta4c59943d1b117adf51ef8839dadeea133c40f0d (diff)
downloadmpd-7c13249b5977f9de8137d3172fbeda8386f89557.tar.gz
mpd-7c13249b5977f9de8137d3172fbeda8386f89557.tar.xz
mpd-7c13249b5977f9de8137d3172fbeda8386f89557.zip
pcm_resample: fixed typo in libsamplerate runtime check
The string comparison should be "!= 0", not "== 0". Ouch.
-rw-r--r--src/pcm_resample.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pcm_resample.c b/src/pcm_resample.c
index 69fda79e4..d1360d02a 100644
--- a/src/pcm_resample.c
+++ b/src/pcm_resample.c
@@ -31,7 +31,7 @@ static bool
pcm_resample_lsr_enabled(void)
{
return strcmp(config_get_string(CONF_SAMPLERATE_CONVERTER, ""),
- "internal") == 0;
+ "internal") != 0;
}
#endif