[MPlayer-dev-eng] [PATCH] AC3/DTS passthrough for Mac OS X

Ulion ulion2002 at gmail.com
Sun Sep 16 06:46:08 CEST 2007


Hello,

Here's the final merged patch which make ac3/dts passthrough works
both on mac intel (a macbook) and mac powerpc (an iMac G5) machines
with Mac OS 10.4.10  (current) tested.

The original patch I posted last month is here:
http://lists.mplayerhq.hu/pipermail/mplayer-dev-eng/2007-August/053214.html

There's some update since I last post the patch:
1. Restore digital output when plug out the optical wire and re-plug
it in, tested on both platforms.
2. More format fix.
3. Passthrough tested on both platforms after I got an iMac G5 to test
powerpc platform.

I think I need to explain why passthrough on mac os x need so many
code again here:
The mac os x use the coreaudio frameworks to handle all audio stuffs,
there's a higer level framework called AUHAL that's the original code
used to output audio on mac os x, but the framework only accept pcm
format as input and it can not do the passthrough (some guy from apple
said that at http://lists.apple.com/archives/Coreaudio-api/2007/Jun/msg00042.html
). Another lower level framework called HAL, it can do the passthrough
in the way this patch does. Indeed AUHAL framework is based on the
HAL.


-- 
Ulion
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: macosx_passthough.txt
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-dev-eng/attachments/20070916/a0179559/attachment.txt>


More information about the MPlayer-dev-eng mailing list