diff options
author | Max Kellermann <max@duempel.org> | 2009-05-07 12:19:01 +0200 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2009-05-07 12:19:01 +0200 |
commit | 7c13249b5977f9de8137d3172fbeda8386f89557 (patch) | |
tree | 04936403cf2852b5aa82ab02e0589294a549b83f /src | |
parent | a4c59943d1b117adf51ef8839dadeea133c40f0d (diff) | |
download | mpd-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.
Diffstat (limited to 'src')
-rw-r--r-- | src/pcm_resample.c | 2 |
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 |