From ad59ad1d662d29c4ac3644c8fc6a2c428e2ed2c8 Mon Sep 17 00:00:00 2001 From: Matthias Kretz Date: Mon, 3 Dec 2007 17:01:04 +0100 Subject: ChangeLog entries for my patches --- ChangeLog | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'ChangeLog') diff --git a/ChangeLog b/ChangeLog index 23ca358e8..469faf8b8 100644 --- a/ChangeLog +++ b/ChangeLog @@ -14,6 +14,10 @@ xine-lib (1.1.9) (unreleased) This requires conversion to UTF-8 of entities with codes >= 128. * Fixed ATSC support. [Bug 1749508] * Fixed a possible DVB plugin crash when switching channels. + * Fixed ogg demuxer to not discard data at the end of the stream. + * Fixed deadlock on ao_close while paused. + * Nicer wakeup behaviour, using select instead of nanosleep (800 -> 100 + wakeups/s). xine-lib (1.1.8) * Send a channel-changed event to the frontend when receiving the SYNC -- cgit v1.2.3 From cad22619cdb867490ebfb59069f0aa472620edc5 Mon Sep 17 00:00:00 2001 From: Matthias Kretz Date: Sun, 2 Dec 2007 22:48:36 +0100 Subject: 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. --- ChangeLog | 2 ++ 1 file changed, 2 insertions(+) (limited to 'ChangeLog') diff --git a/ChangeLog b/ChangeLog index 469faf8b8..a4a680bbd 100644 --- a/ChangeLog +++ b/ChangeLog @@ -18,6 +18,8 @@ xine-lib (1.1.9) (unreleased) * Fixed deadlock on ao_close while paused. * Nicer wakeup behaviour, using select instead of nanosleep (800 -> 100 wakeups/s). + * Fixed ALSA close function to not discard all data that had been written + but not played yet. xine-lib (1.1.8) * Send a channel-changed event to the frontend when receiving the SYNC -- cgit v1.2.3 From b312cde90d985df949beac9708476af28bc82113 Mon Sep 17 00:00:00 2001 From: Matthias Kretz Date: Mon, 3 Dec 2007 16:47:53 +0100 Subject: Fixed a race condition between ao_loop and ao_close to not lose the last buffer. In ao_loop only read the first buffer and remove it from the fifo only when the buffer has been written or is about to be discarded. This fixes the race between ao_loop and ao_close for good. Now fifo_remove_int may signal empty again right after removing the last buffer from the fifo. --- ChangeLog | 2 ++ 1 file changed, 2 insertions(+) (limited to 'ChangeLog') diff --git a/ChangeLog b/ChangeLog index a4a680bbd..97dd87f94 100644 --- a/ChangeLog +++ b/ChangeLog @@ -20,6 +20,8 @@ xine-lib (1.1.9) (unreleased) wakeups/s). * Fixed ALSA close function to not discard all data that had been written but not played yet. + * Fixed a race condition between ao_loop and ao_close to not lose the last + buffer. xine-lib (1.1.8) * Send a channel-changed event to the frontend when receiving the SYNC -- cgit v1.2.3