[MPlayer-dev-eng] Suggested argument to pcm output: wavekeeptime
ed at catmur.co.uk
ed at catmur.co.uk
Wed Nov 26 07:37:56 CET 2003
Currently the aopcm audio output plugin dumps audio as fast as it can.
This patch introduces a command line argument to make the plugin dump at
1:1 speed, thus giving greater consistency with other audio output
plugins.
It uses code from the null plugin for timing, and also drops frames if
poll() reports that writing would block.
It includes patches to handle an argument '-wavekeeptime' and report to
stdout the existence of the argument when -ao pcm is chosen. I have not
written docs patches.
Example: mplayer doom3_e32003.mpg -ao pcm -wavekeeptime -aofile
/dev/fd/3 3>&1 >&2 | cat | cat | cat | cat | aplay -f cd
-------------- next part --------------
A non-text attachment was scrubbed...
Name: mplayer-1.0_pre2-aopcm-keeptime.patch
Type: text/x-patch
Size: 4803 bytes
Desc:
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-dev-eng/attachments/20031126/fbf886ce/attachment.bin>
More information about the MPlayer-dev-eng
mailing list