OSDN Git Service

Change HandBrake from using the libsamplerate linear interpolator for resampling...
authoreddyg <eddyg@b64f7644-9d1e-0410-96f1-a4d463321fa5>
Sun, 6 Jul 2008 22:53:43 +0000 (22:53 +0000)
committereddyg <eddyg@b64f7644-9d1e-0410-96f1-a4d463321fa5>
Sun, 6 Jul 2008 22:53:43 +0000 (22:53 +0000)
git-svn-id: svn://localhost/HandBrake/trunk@1557 b64f7644-9d1e-0410-96f1-a4d463321fa5

libhb/sync.c

index 58812a7..f51e0e1 100644 (file)
@@ -262,7 +262,7 @@ static void InitAudio( hb_work_object_t * w, int i )
     {
         /* Initialize libsamplerate */
         int error;
-        sync->state             = src_new( SRC_LINEAR, HB_AMIXDOWN_GET_DISCRETE_CHANNEL_COUNT(sync->audio->config.out.mixdown), &error );
+        sync->state             = src_new( SRC_SINC_MEDIUM_QUALITY, HB_AMIXDOWN_GET_DISCRETE_CHANNEL_COUNT(sync->audio->config.out.mixdown), &error );
         sync->data.end_of_input = 0;
     }
 }