summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2015-09-03 09:35:49 +0100
committerCarl Hetherington <cth@carlh.net>2015-09-03 09:35:49 +0100
commit82be73bbfd7a81b57bff02671f88b41f38e65f58 (patch)
tree53c5206584332fb363cf766aa6681247f77648ca /src
parent3b77150ef88203aa2522df5f7185f34af938ea74 (diff)
parent28d89b1ffa57da6c5407773182cbb1d063384ee5 (diff)
Merge.
Diffstat (limited to 'src')
-rw-r--r--src/lib/resampler.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/lib/resampler.cc b/src/lib/resampler.cc
index 2538f7dca..f54f4ec6a 100644
--- a/src/lib/resampler.cc
+++ b/src/lib/resampler.cc
@@ -52,6 +52,8 @@ Resampler::Resampler (int in, int out, int channels)
av_opt_set_int (_swr_context, "isr", _in_rate, 0);
av_opt_set_int (_swr_context, "osr", _out_rate, 0);
+ av_opt_set (_swr_context, "resampler", "soxr", 0);
+
swr_init (_swr_context);
}