[MPlayer-dev-eng] [PATCH] -audiofile and rawaudio together

Nico nsabbi at tiscali.it
Sun Jan 11 23:58:57 CET 2004


Hi,
this patch permits to use raw audio files (not recognized by 
demux_audio.c) together with -audiofile.
The suboption to use is  :audiofile: e.g.

mplayer -rawaudio audiofile:format=0x2000 -audiofile file.ac3 file.m2v

leaving the suboption :on: unset (as default).

Tested with ac3, pcm and mp2 files.

The patch is ugly, because I couldn't find a better way to make the code 
work with the ugly
demux_open() demux_audio.c and especially demux_rawaudio.c , yet it 
works ok (at least for me).


Nico
-------------- next part --------------
A non-text attachment was scrubbed...
Name: audio3.diff
Type: text/x-diff
Size: 5913 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-dev-eng/attachments/20040111/494e717e/attachment.diff>


More information about the MPlayer-dev-eng mailing list