diff options
author | eddyg <[email protected]> | 2008-07-06 22:53:43 +0000 |
---|---|---|
committer | eddyg <[email protected]> | 2008-07-06 22:53:43 +0000 |
commit | b87f5a6f8535c6fd6d86fa90079eb9185a457620 (patch) | |
tree | b4398beab6fc6d4a2ad6c17582a17a406eea6cbd /libhb | |
parent | c38c34f41a6ed88ef1117d080a6b7298b0c9d5bf (diff) |
Change HandBrake from using the libsamplerate linear interpolator for resampling audio to using the SINC medium quality interpolator. Testing has shown a significant improvement in audio using this interpolator when upsampling the audio, most significant for 22Khz up to 48Khz, the audio is a lot brighter.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1557 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'libhb')
-rw-r--r-- | libhb/sync.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libhb/sync.c b/libhb/sync.c index 58812a7ad..f51e0e130 100644 --- a/libhb/sync.c +++ b/libhb/sync.c @@ -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; } } |