pcm_resample: fixed typo in libsamplerate runtime check
The string comparison should be "!= 0", not "== 0". Ouch.
This commit is contained in:
@@ -31,7 +31,7 @@ static bool
|
|||||||
pcm_resample_lsr_enabled(void)
|
pcm_resample_lsr_enabled(void)
|
||||||
{
|
{
|
||||||
return strcmp(config_get_string(CONF_SAMPLERATE_CONVERTER, ""),
|
return strcmp(config_get_string(CONF_SAMPLERATE_CONVERTER, ""),
|
||||||
"internal") == 0;
|
"internal") != 0;
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user