From 7c13249b5977f9de8137d3172fbeda8386f89557 Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Thu, 7 May 2009 12:19:01 +0200 Subject: pcm_resample: fixed typo in libsamplerate runtime check The string comparison should be "!= 0", not "== 0". Ouch. --- src/pcm_resample.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/pcm_resample.c') diff --git a/src/pcm_resample.c b/src/pcm_resample.c index 69fda79e..d1360d02 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 -- cgit v1.2.3