diff options
author | Miguel Freitas <miguelfreitas@users.sourceforge.net> | 2003-09-04 00:21:09 +0000 |
---|---|---|
committer | Miguel Freitas <miguelfreitas@users.sourceforge.net> | 2003-09-04 00:21:09 +0000 |
commit | d29caa6dc1e5de40bf2a938c3fa8b953eceb35b1 (patch) | |
tree | 31cc27f6ff8ad41958819d203ccb17415bf7083d | |
parent | 7fc49381232177eb31aa59cc7f77104fdf77e172 (diff) | |
download | xine-lib-d29caa6dc1e5de40bf2a938c3fa8b953eceb35b1.tar.gz xine-lib-d29caa6dc1e5de40bf2a938c3fa8b953eceb35b1.tar.bz2 |
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
-rw-r--r-- | src/xine-engine/audio_out.c | 4 |
1 files 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 <andy@alsaplayer.org> @@ -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) { |