summaryrefslogtreecommitdiff
path: root/po
diff options
context:
space:
mode:
authorMatthias Kretz <kretz@kde.org>2007-12-02 22:48:36 +0100
committerMatthias Kretz <kretz@kde.org>2007-12-02 22:48:36 +0100
commitcad22619cdb867490ebfb59069f0aa472620edc5 (patch)
treecd41b2d96e973d0aee8e8c397602237deeca8614 /po
parentad59ad1d662d29c4ac3644c8fc6a2c428e2ed2c8 (diff)
downloadxine-lib-cad22619cdb867490ebfb59069f0aa472620edc5.tar.gz
xine-lib-cad22619cdb867490ebfb59069f0aa472620edc5.tar.bz2
Fixed ALSA close function to not discard all data that had been written but not played yet.
When closing the pcm device make sure that everything that was written to the device actually gets played. This was the race we were seeing with Ogg Vorbis and wav playback where a delayed driver->close would fix playback. Notice that blocking mode needs to be used for snd_pcm_drain, otherwise the call would be a noop.
Diffstat (limited to 'po')
0 files changed, 0 insertions, 0 deletions