diff options
author | wm4 <wm4@mplayer2.org> | 2012-03-12 01:14:47 +0100 |
---|---|---|
committer | wm4 <wm4@mplayer2.org> | 2012-03-17 21:06:30 +0100 |
commit | 2f9b14916fc2b4f3e505f0512c16d3a6f0fa30fe (patch) | |
tree | 78bbe7fbb06cfa876aed606d97efa3a8df68ffc0 /drivers/3dfx.h | |
parent | ea1cc7f3e2c2a052bfd79039b5264bfbd0ebdca7 (diff) | |
download | mpv-2f9b14916fc2b4f3e505f0512c16d3a6f0fa30fe.tar.bz2 mpv-2f9b14916fc2b4f3e505f0512c16d3a6f0fa30fe.tar.xz |
ao_dsound: don't repeat parts of the audio buffer when playback ends
When layback of a file ends, the audio output doesn't receive new audio
data, but the rest of the data must be played properly. ao_dsound.c
doesn't handle this properly: DirectSound will continue to play the
ringbuffer, even if mplayer doesn't write any data. There's no explicit
way to prevent such a buffer underrun. Try to detect it and stop
playback.
Diffstat (limited to 'drivers/3dfx.h')
0 files changed, 0 insertions, 0 deletions