[pulseaudio-discuss] [PATCH] resampler: Don't expose soxr methods if they are not supported
arun at accosted.net
arun at accosted.net
Thu Nov 5 21:45:32 PST 2015
From: Arun Raghavan <git at arunraghavan.net>
Fixes: https://bugs.freedesktop.org/show_bug.cgi?id=92780
---
src/pulsecore/resampler.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/src/pulsecore/resampler.c b/src/pulsecore/resampler.c
index bf3fdb8..df2458d 100644
--- a/src/pulsecore/resampler.c
+++ b/src/pulsecore/resampler.c
@@ -655,9 +655,11 @@ static const char * const resample_methods[] = {
"auto",
"copy",
"peaks",
+#ifdef HAVE_SOXR
"soxr-mq",
"soxr-hq",
"soxr-vhq"
+#endif
};
const char *pa_resample_method_to_string(pa_resample_method_t m) {
--
2.5.0
More information about the pulseaudio-discuss
mailing list