make speex-float-3 the default resampler

git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@1973 fefdeb5f-60dc-0310-8127-8f9354f1896f
This commit is contained in:
Lennart Poettering 2007-10-29 08:34:30 +00:00
parent c6a7f06e23
commit 1c0690776d
2 changed files with 4 additions and 4 deletions

View file

@ -195,7 +195,7 @@ pa_resampler* pa_resampler_new(
}
if (resample_method == PA_RESAMPLER_AUTO)
resample_method = PA_RESAMPLER_SPEEX_FLOAT_BASE + 0;
resample_method = PA_RESAMPLER_SPEEX_FLOAT_BASE + 3;
r = pa_xnew(pa_resampler, 1);
r->mempool = pool;
@ -439,10 +439,10 @@ pa_resample_method_t pa_parse_resample_method(const char *string) {
return m;
if (!strcmp(string, "speex-fixed"))
return PA_RESAMPLER_SPEEX_FIXED_BASE + 0;
return PA_RESAMPLER_SPEEX_FIXED_BASE + 3;
if (!strcmp(string, "speex-float"))
return PA_RESAMPLER_SPEEX_FLOAT_BASE + 0;
return PA_RESAMPLER_SPEEX_FLOAT_BASE + 3;
return PA_RESAMPLER_INVALID;
}