From d29caa6dc1e5de40bf2a938c3fa8b953eceb35b1 Mon Sep 17 00:00:00 2001 From: Miguel Freitas Date: Thu, 4 Sep 2003 00:21:09 +0000 Subject: this should complete the fix for more than 1 flush at the same time CVS patchset: 5338 CVS date: 2003/09/04 00:21:09 --- src/xine-engine/audio_out.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/xine-engine/audio_out.c b/src/xine-engine/audio_out.c index 87a26c765..be37f71ac 100644 --- a/src/xine-engine/audio_out.c +++ b/src/xine-engine/audio_out.c @@ -17,7 +17,7 @@ * along with self program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA * - * $Id: audio_out.c,v 1.142 2003/09/03 21:17:58 miguelfreitas Exp $ + * $Id: audio_out.c,v 1.143 2003/09/04 00:21:09 miguelfreitas Exp $ * * 22-8-2001 James imported some useful AC3 sections from the previous alsa driver. * (c) 2001 Andy Lo A Foe @@ -895,7 +895,7 @@ static void *ao_loop (void *this_gen) { if (this->flush_audio_driver) { this->ao.control(&this->ao, AO_CTRL_FLUSH_BUFFERS); this->flush_audio_driver--; - pthread_cond_signal(&this->flush_audio_driver_reached); + pthread_cond_broadcast(&this->flush_audio_driver_reached); } if (this->discard_buffers) { -- cgit v1.2.3