OSDN Git Service

Let CoreAudio decide the best sample rate. Fixed and issue when the AudioConverter...
authorritsuka <ritsuka@b64f7644-9d1e-0410-96f1-a4d463321fa5>
Thu, 27 Aug 2009 09:34:24 +0000 (09:34 +0000)
committerritsuka <ritsuka@b64f7644-9d1e-0410-96f1-a4d463321fa5>
Thu, 27 Aug 2009 09:34:24 +0000 (09:34 +0000)
git-svn-id: svn://localhost/HandBrake/trunk@2780 b64f7644-9d1e-0410-96f1-a4d463321fa5

libhb/platform/macosx/encca_aac.c

index aee157d..8c05ae3 100644 (file)
@@ -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...