Enable higher quality resampling, as it doesn't have a noticeable performance
authorRussell Bryant <russell@russellbryant.com>
Mon, 21 Jul 2008 13:51:05 +0000 (13:51 +0000)
committerRussell Bryant <russell@russellbryant.com>
Mon, 21 Jul 2008 13:51:05 +0000 (13:51 +0000)
impact on my machine ..

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@132388 65c4cc65-6c06-0410-ace0-fbb531ad65f3

apps/app_jack.c
codecs/codec_resample.c

index cfa99be..6613353 100644 (file)
@@ -53,7 +53,7 @@ ASTERISK_FILE_VERSION(__FILE__, "$Revision$")
 #include "asterisk/pbx.h"
 #include "asterisk/audiohook.h"
 
-#define RESAMPLE_QUALITY 0
+#define RESAMPLE_QUALITY 1
 
 #define RINGBUFFER_SIZE 16384
 
index 023b9b6..8347904 100644 (file)
@@ -43,7 +43,7 @@ ASTERISK_FILE_VERSION(__FILE__, "$Revision$")
 
 #include "slin_resample_ex.h"
 
-#define RESAMPLER_QUALITY 0
+#define RESAMPLER_QUALITY 1
 
 #define OUTBUF_SIZE   8096