[mythtv] Working frontend on Mac OS X Intel

Joe Rumsey joe at rumsey.org
Sat Mar 18 16:34:20 UTC 2006


On Mar 18, 2006, at 8:16 AM, emmanuel wrote:

> This fixed the audio for me:
>
> Index: libs/libmyth/audiooutputca.cpp
> ===================================================================
> --- libs/libmyth/audiooutputca.cpp      (revision 9406)
> +++ libs/libmyth/audiooutputca.cpp      (working copy)
> @@ -107,8 +107,8 @@
>      bzero(&conv_in_desc, sizeof(AudioStreamBasicDescription));
>      conv_in_desc.mSampleRate       = audio_samplerate;
>      conv_in_desc.mFormatID         = kAudioFormatLinearPCM;
> -    conv_in_desc.mFormatFlags      =  
> kLinearPCMFormatFlagIsSignedInteger
> -                                     |  
> kLinearPCMFormatFlagIsBigEndian;
> +    conv_in_desc.mFormatFlags      =  
> kLinearPCMFormatFlagIsSignedInteger;
> +//                                     |  
> kLinearPCMFormatFlagIsBigEndian;
>      conv_in_desc.mBytesPerPacket   = audio_bytes_per_sample;
>      conv_in_desc.mFramesPerPacket  = 1;
>      conv_in_desc.mBytesPerFrame    = audio_bytes_per_sample;

This was in the patch I originally posted to the Wiki, but was edited  
out by someone else with the comment that the SVN version now has  
that part of the patch applied.  So presumably if you are building  
from SVN you don't need the audio patch any more.  I haven't tried  
it, but I updated the Wiki comment to reflect that.




More information about the mythtv-dev mailing list