[vlc-commits] soxr: increase priority

Thomas Guillem git at videolan.org
Tue Mar 13 09:02:48 CET 2018


vlc | branch: master | Thomas Guillem <thomas at gllm.fr> | Mon Mar 12 12:19:38 2018 +0100| [7a960ca2963c69dfcc4fa988f49b11053049ccad] | committer: Thomas Guillem

soxr: increase priority

This resampler is used by PulseAudio and used and tested since 3 years by our
android port. There is very good quality/CPU time ratio since it uses SIMD on
armv7/arm64/x86/x86_64.

It should be enabled by default, but should the priority be higher than src ?

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=7a960ca2963c69dfcc4fa988f49b11053049ccad
---

 modules/audio_filter/resampler/soxr.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/modules/audio_filter/resampler/soxr.c b/modules/audio_filter/resampler/soxr.c
index 2db9921a5a..70fad88087 100644
--- a/modules/audio_filter/resampler/soxr.c
+++ b/modules/audio_filter/resampler/soxr.c
@@ -71,11 +71,11 @@ vlc_module_begin ()
                 SOXR_QUALITY_TEXT, NULL, true )
         change_integer_list( soxr_resampler_quality_vlclist,
                              soxr_resampler_quality_vlctext )
-    set_capability ( "audio converter", 0 )
+    set_capability ( "audio converter", 51 )
     set_callbacks( OpenConverter, Close )
 
     add_submodule()
-    set_capability( "audio resampler", 0 )
+    set_capability( "audio resampler", 51 )
     set_callbacks( OpenResampler, Close )
     add_shortcut( "soxr" )
 vlc_module_end ()



More information about the vlc-commits mailing list