summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/pulsecore/core.c2
-rw-r--r--src/pulsecore/resampler.c6
2 files changed, 4 insertions, 4 deletions
diff --git a/src/pulsecore/core.c b/src/pulsecore/core.c
index 98ad16e04..2ca50c238 100644
--- a/src/pulsecore/core.c
+++ b/src/pulsecore/core.c
@@ -141,7 +141,7 @@ pa_core* pa_core_new(pa_mainloop_api *m, pa_bool_t shared, size_t shm_size) {
c->disable_remixing = FALSE;
c->disable_lfe_remixing = FALSE;
c->deferred_volume = TRUE;
- c->resample_method = PA_RESAMPLER_SPEEX_FLOAT_BASE + 3;
+ c->resample_method = PA_RESAMPLER_SPEEX_FLOAT_BASE + 1;
for (j = 0; j < PA_CORE_HOOK_MAX; j++)
pa_hook_init(&c->hooks[j], c);
diff --git a/src/pulsecore/resampler.c b/src/pulsecore/resampler.c
index 0a3a678c9..bc45f065e 100644
--- a/src/pulsecore/resampler.c
+++ b/src/pulsecore/resampler.c
@@ -236,7 +236,7 @@ pa_resampler* pa_resampler_new(
if (method == PA_RESAMPLER_AUTO) {
#ifdef HAVE_SPEEX
- method = PA_RESAMPLER_SPEEX_FLOAT_BASE + 3;
+ method = PA_RESAMPLER_SPEEX_FLOAT_BASE + 1;
#else
if (flags & PA_RESAMPLER_VARIABLE_RATE)
method = PA_RESAMPLER_TRIVIAL;
@@ -565,10 +565,10 @@ pa_resample_method_t pa_parse_resample_method(const char *string) {
return m;
if (pa_streq(string, "speex-fixed"))
- return PA_RESAMPLER_SPEEX_FIXED_BASE + 3;
+ return PA_RESAMPLER_SPEEX_FIXED_BASE + 1;
if (pa_streq(string, "speex-float"))
- return PA_RESAMPLER_SPEEX_FLOAT_BASE + 3;
+ return PA_RESAMPLER_SPEEX_FLOAT_BASE + 1;
return PA_RESAMPLER_INVALID;
}