[MPlayer-dev-eng] [PATCH] ao_pcm is unable to output raw PCM audio

Calvin Walton calvin.walton at gmail.com
Tue Mar 27 07:36:58 CEST 2007


I noticed that due to the way suboptions are parsed, there is
currently no way to disable wave output on ao_pcm - boolean options to
not support negation, and the waveheader option is on by default.

As a workaround (Ideally, the suboption parser can be fixed to support
negatable boolean options), I have changed ap_pcm to take an option
"rawpcm" that disables wave output. Messages and the man page are
updated as well.

As an aside,
I'm not really sure why MSGTR_AO_PCM_HintInfo exists - wouldn't it be
better to put the info from there into the man page, and spam less
output?

This is my first patch submitted to mplayer, thanks for taking the
time to read it ;)

-- 
Calvin Walton
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ao-pcm-output-rawpcm.diff
Type: text/x-patch
Size: 3879 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-dev-eng/attachments/20070327/4f4985c5/attachment.bin>


More information about the MPlayer-dev-eng mailing list