From 1c13f131692c6c42021a45dcc209f7ec6ef611a7 Mon Sep 17 00:00:00 2001 From: Miguel Freitas Date: Fri, 24 May 2002 13:15:47 +0000 Subject: Thibaut's suggestion to flush audio driver on seek. harmless since drivers do not implement it yet. we should wait 0.9.10 release before enabling this feature (oss and alsa) CVS patchset: 1936 CVS date: 2002/05/24 13:15:47 --- src/xine-engine/xine.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'src') diff --git a/src/xine-engine/xine.c b/src/xine-engine/xine.c index 22cc54c25..f336d0697 100644 --- a/src/xine-engine/xine.c +++ b/src/xine-engine/xine.c @@ -17,7 +17,7 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA * - * $Id: xine.c,v 1.132 2002/05/24 11:34:51 miguelfreitas Exp $ + * $Id: xine.c,v 1.133 2002/05/24 13:15:47 miguelfreitas Exp $ * * top-level xine functions * @@ -162,6 +162,9 @@ void xine_flush_engine (xine_t *this) { this->metronom->adjust_clock(this->metronom, this->metronom->get_current_time(this->metronom) + 30 * 90000 ); + + if (this->audio_out) + this->audio_out->control(this->audio_out, AO_CTRL_FLUSH_BUFFERS); } static void xine_internal_osd (xine_t *this, char *str, -- cgit v1.2.3