ao_alsa: If pause loses samples replace them with silence
commit66cefd5f7196022f5f0c45b2f68a8fa3b354c917
authorUoti Urpala <uau@glyph.nonexistent.invalid>
Mon, 8 Dec 2008 20:21:23 +0000 (8 22:21 +0200)
committerUoti Urpala <uau@glyph.nonexistent.invalid>
Mon, 8 Dec 2008 20:36:06 +0000 (8 22:36 +0200)
tree3add6cd4148e0742ce8aace315c3c1f99d9d64e9
parentbc4c570ab1fd93db0f24759b35306a3d10985c4b
ao_alsa: If pause loses samples replace them with silence

If the ALSA pause functionality is not available the driver has to
drop buffered samples when MPlayer calls pause(). Replace them by
playing a corresponding amount of silence in resume() instead of
shortening the overall audio duration.
libao2/ao_alsa.c