From 2ab734c56dce4f6db603c1596701dd7028be493a Mon Sep 17 00:00:00 2001 From: ritsuka Date: Thu, 27 Aug 2009 09:34:24 +0000 Subject: [PATCH] Let CoreAudio decide the best sample rate. Fixed and issue when the AudioConverter couldn't be created with some specific sample rates. git-svn-id: svn://localhost/HandBrake/trunk@2780 b64f7644-9d1e-0410-96f1-a4d463321fa5 --- libhb/platform/macosx/encca_aac.c | 1 - 1 file changed, 1 deletion(-) diff --git a/libhb/platform/macosx/encca_aac.c b/libhb/platform/macosx/encca_aac.c index aee157d1..8c05ae3e 100644 --- a/libhb/platform/macosx/encca_aac.c +++ b/libhb/platform/macosx/encca_aac.c @@ -121,7 +121,6 @@ int encCoreAudioInit( hb_work_object_t * w, hb_job_t * job ) input.mBitsPerChannel = 32; bzero( &output, sizeof( AudioStreamBasicDescription ) ); - output.mSampleRate = ( Float64 ) audio->config.out.samplerate; output.mFormatID = kAudioFormatMPEG4AAC; output.mChannelsPerFrame = pv->nchannels; // let CoreAudio decide the rest... -- 2.11.0