[MPlayer-dev-eng] [PATCH] Real demuer audio cleanup

Roberto Togni r_togni at tiscali.it
Sun Dec 4 23:49:16 CET 2005


Hi all

This patch moves audio descrambling from codec to demuxer, and removes
the fake extradata that was used to pass descrambling parameters to the
codec.

sipr codec required an hack, because it was not possible to skip the
raSetFlavor() function. I added some code to guess the flavor from the
bitrate; it works with all my samples.

The code is compatible with linux .so and win32 dll, someone please
test in on ppc and macosx.

Please stress test it and reports that work without this patch but are
broken with it.

Note: native 28_8 decoder is not supported, i plan to drop it and use
the ffmpeg codec after this patch (and the ffmpeg patch with the same
purpose) is done. To test 28_8 samples use -ac ra288

Ciao,
 Roberto
-------------- next part --------------
A non-text attachment was scrubbed...
Name: rmcleanup.diff
Type: text/x-patch
Size: 21906 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-dev-eng/attachments/20051204/c4e1db02/attachment.bin>


More information about the MPlayer-dev-eng mailing list