[MPlayer-dev-eng] [PATCH] Fix AC3 passthrough on Intel Macs

Sean McGovern gseanmcg at gmail.com
Mon Aug 16 14:33:33 CEST 2010


OK, I will re-send the patch later today.
-----Original Message-----
From: compn <tempn at twmi.rr.com>
Sender: mplayer-dev-eng-bounces at mplayerhq.hu
Date: Mon, 16 Aug 2010 00:06:58 
To: <mplayer-dev-eng at mplayerhq.hu>
Reply-To: mplayer-dev-eng at mplayerhq.hu
Subject: Re: [MPlayer-dev-eng] [PATCH] Fix AC3 passthrough on Intel Macs

On Sun, 15 Aug 2010 14:54:19 -0400, Sean McGovern wrote:
>
>As I mentioned previously I have been looking into the AC3 passthrough
>problem on Intel Macs and have made a patch to fix the issue. Also included
>the changes from the previous patch that squelches some compiler warnings.
>
>Comments, suggestions, constructive criticisms welcome.
>
>Thanks in advance,
>Sean McGovern
>
>
>[ao_coreaudio-mactel.diff  application/octet-stream (5.4KB)]
>Index: libao2/ao_coreaudio.c
>-static OSStatus theRenderProc(void *inRefCon,
>-                              AudioUnitRenderActionFlags *inActionFlags,
>-                              const AudioTimeStamp *inTimeStamp,
>-                              UInt32 inBusNumber, UInt32 inNumFrames,
>+static OSStatus theRenderProc(__unused void *inRefCon,
>+                              __unused AudioUnitRenderActionFlags *inActionFlags,
>+                              __unused const AudioTimeStamp *inTimeStamp,
>+                              __unused UInt32 inBusNumber, UInt32 inNumFrames,

if the patch without the compiler warnings is smaller, you should undo
that patch. this __unused stuff looks terrible and makes the patch
harder to read.

-compn
_______________________________________________
MPlayer-dev-eng mailing list
MPlayer-dev-eng at mplayerhq.hu
https://lists.mplayerhq.hu/mailman/listinfo/mplayer-dev-eng


More information about the MPlayer-dev-eng mailing list