pcm_resample: fixed typo in libsamplerate runtime check
The string comparison should be "!= 0", not "== 0". Ouch.
This commit is contained in:
parent
a4c59943d1
commit
7c13249b59
@ -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
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user