[vlc-commits] SRC: default to fastest SinC

Rémi Denis-Courmont git at videolan.org
Wed Mar 7 20:04:00 CET 2012


vlc/vlc-2.0 | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Wed Mar  7 19:29:42 2012 +0200| [43a5474ad251e454189e3a8a1c458854a09536a0] | committer: Rémi Denis-Courmont

SRC: default to fastest SinC

It is good enough for normal people with only half the CPU usage of
medium quality SinC.
(cherry picked from commit c07d0c4cd35b7a91c0f9428144a14bbf29750898)

> http://git.videolan.org/gitweb.cgi/vlc/vlc-2.0.git/?a=commit;h=43a5474ad251e454189e3a8a1c458854a09536a0
---

 modules/audio_filter/resampler/src.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/modules/audio_filter/resampler/src.c b/modules/audio_filter/resampler/src.c
index a6b8e46..f1f2347 100644
--- a/modules/audio_filter/resampler/src.c
+++ b/modules/audio_filter/resampler/src.c
@@ -50,7 +50,7 @@ vlc_module_begin ()
     set_description (N_("Secret Rabbit Code (libsamplerate) resampler") )
     set_category (CAT_AUDIO)
     set_subcategory (SUBCAT_AUDIO_MISC)
-    add_integer ("src-converter-type", SRC_SINC_MEDIUM_QUALITY,
+    add_integer ("src-converter-type", SRC_SINC_FASTEST,
                  SRC_CONV_TYPE_TEXT, SRC_CONV_TYPE_LONGTEXT, true)
         change_integer_list (conv_type_values, conv_type_texts)
     set_capability ("audio filter", 60)



More information about the vlc-commits mailing list