pcm_resample: fixed typo in libsamplerate runtime check

The string comparison should be "!= 0", not "== 0".  Ouch.
This commit is contained in:
Max Kellermann 2009-05-07 12:19:01 +02:00
parent a4c59943d1
commit 7c13249b59

View File

@ -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