Commit 7c13249b authored by Max Kellermann's avatar Max Kellermann

pcm_resample: fixed typo in libsamplerate runtime check

The string comparison should be "!= 0", not "== 0". Ouch.
parent a4c59943
......@@ -31,7 +31,7 @@ static bool
pcm_resample_lsr_enabled(void)
{
return strcmp(config_get_string(CONF_SAMPLERATE_CONVERTER, ""),
"internal") == 0;
"internal") != 0;
}
#endif
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment