AC3Filter is an open source AC3 decoding filter that allows you to watch videos with AC3-encoded surround audio.

After you install the filter, all video players, including Microsoft's Windows Media Player, that use DirectShow, should be able to play AC3 audio correctly. Filter also supports ProLogicII audio as well.