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

Reimar Döffinger Reimar.Doeffinger at gmx.de
Tue Aug 17 08:37:02 CEST 2010


On Mon, Aug 16, 2010 at 06:44:51PM -0400, Sean McGovern wrote:
> As requested, here is the patch *sans*-compiler warning fixups.


> +    // AC-3 data is *ALWAYS* big-endian, however CoreAudio on an Intel Mac
> +    // still requires the data to be byte-swapped

No it is not, just set the format to the right one (AF_FORMAT_AC3_LE,
AF_FORMAT_AC3_BE, AF_FORMAT_AC3_NE) to request the conversion instead
of duplicating the format conversion code.


More information about the MPlayer-dev-eng mailing list