[vlc-commits] Invert speex_dsp and src score capabilities

Jean-Baptiste Kempf git at videolan.org
Thu Jan 5 23:19:06 CET 2012


vlc/vlc-1.2 | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Thu Jan  5 14:25:58 2012 +0100| [0473347903a41627b9a8ae8b8123d90877bfe532] | committer: Jean-Baptiste Kempf

Invert speex_dsp and src score capabilities

This is probably temporary, since SRC is more computationly intensive than speex_dsp
But this close #5781
(cherry picked from commit 5c261b04db7a7b7af65d169b7ee0700b55e72cef)

Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>

> http://git.videolan.org/gitweb.cgi/vlc/vlc-1.2.git/?a=commit;h=0473347903a41627b9a8ae8b8123d90877bfe532
---

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

diff --git a/modules/audio_filter/resampler/speex.c b/modules/audio_filter/resampler/speex.c
index 561261a..cc00e86 100644
--- a/modules/audio_filter/resampler/speex.c
+++ b/modules/audio_filter/resampler/speex.c
@@ -44,7 +44,7 @@ vlc_module_begin ()
     add_integer ("speex-resampler-quality", 4,
                  QUALITY_TEXT, QUALITY_LONGTEXT, true)
         change_integer_range (0, 10)
-    set_capability ("audio filter", 60)
+    set_capability ("audio filter", 50)
     set_callbacks (Open, Close)
 vlc_module_end ()
 
diff --git a/modules/audio_filter/resampler/src.c b/modules/audio_filter/resampler/src.c
index d04e0f7..a6b8e46 100644
--- a/modules/audio_filter/resampler/src.c
+++ b/modules/audio_filter/resampler/src.c
@@ -53,7 +53,7 @@ vlc_module_begin ()
     add_integer ("src-converter-type", SRC_SINC_MEDIUM_QUALITY,
                  SRC_CONV_TYPE_TEXT, SRC_CONV_TYPE_LONGTEXT, true)
         change_integer_list (conv_type_values, conv_type_texts)
-    set_capability ("audio filter", 50)
+    set_capability ("audio filter", 60)
     set_callbacks (Open, Close)
 vlc_module_end ()
 



More information about the vlc-commits mailing list