[MPlayer-dev-eng] MPEG to S/PDIF passthrough

Ilkka Karvinen kartsan at gmail.com
Wed Mar 5 13:23:17 CET 2008


There have been no comments on this patch. I'm wondering if there could be
people around here who have a home theater amplifier which supports MPEG
audio? It would be interesting to hear if this feature works with your
hardware. Especially if you are running mplayer on a bigendian machine
since I can't currently test this code on a such machine.

If your amplifier supports AC3/DTM decoding, its DSP may also support
MPEG audio. My old Harman Kardon amplifier uses Cirrus Logic's DSP
which supports it and that was my initial reason to start investigating
this stuff.

I send attached diff that Ulion made for me if you would like to give a try to
this feature. It adds new codec hwmp3 which redirects the MPEG frames to
hardware via S/PDIF.

I have tested it and it works with mp3 audio files and video files with
mp3 audio track. However, some mp3 files do not work and I don't know
why. My guess is that their frames are not recognised by my hardware. 
There are no similarities with the failing samples. Another sample with
equal parameters (header bits are the same) may work flawlessly.


Ilkka


-------------- next part --------------
A non-text attachment was scrubbed...
Name: ad_hwmp3.diff
Type: text/x-diff
Size: 6827 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-dev-eng/attachments/20080305/36988bae/attachment.diff>


More information about the MPlayer-dev-eng mailing list