ao_pcm, core: use new API in ao_pcm, change timing with it
commit40f6ab5064a628dc11b79b5e571dc9444efac093
authorUoti Urpala <uau@mplayer2.org>
Thu, 5 May 2011 18:34:17 +0000 (5 21:34 +0300)
committerUoti Urpala <uau@mplayer2.org>
Thu, 5 May 2011 18:34:17 +0000 (5 21:34 +0300)
treed5217e4e08b5a8ebd16c323c69df2b45c85222ed
parent2fae42d00e7f8a4a8e0e39bd5e84836a26d3755a
ao_pcm, core: use new API in ao_pcm, change timing with it

Change ao_pcm to use the new audio output driver API and clean up some
of the code. Rewrite the logic controlling how playback timing works
when using -ao pcm. Deprecate the "fast" suboption; its only effect
now is to print a warning, but it's still accepted so that specifying
it is not an error.

Before, timing with -ao pcm and video enabled had two possible
modes. In the default mode playback speed was rather arbitrary - not
realtime, but not particularly fast. -ao pcm:fast tried to play back
at maximum video playback speed - mostly succeeding, but not quite
guaranteed to work in all cases. Now the default is to play at
realtime speed. The -benchmark option can now be used to get faster
playback (same as the video-only case). In the audio-only case
playback is always maximum speed.
DOCS/man/en/mplayer.1
libao2/ao_pcm.c
libao2/audio_out.c
libao2/audio_out.h
mplayer.c