[MPlayer-dev-eng] Suggested argument to pcm output: wavekeeptime

Attila Kinali kinali at gmx.net
Mon Dec 8 13:11:18 CET 2003


On Wed, 26 Nov 2003 06:37:56 +0000
ed at catmur.co.uk wrote:

> 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
> 


Any comment about this patch ?

			Attila Kinali

-- 
egp ist vergleichbar mit einem ikea bausatz fuer flugzeugtraeger
			-- reeler in +kaosu



More information about the MPlayer-dev-eng mailing list