diff options
author | Miguel Freitas <miguelfreitas@users.sourceforge.net> | 2002-05-24 13:15:47 +0000 |
---|---|---|
committer | Miguel Freitas <miguelfreitas@users.sourceforge.net> | 2002-05-24 13:15:47 +0000 |
commit | 1c13f131692c6c42021a45dcc209f7ec6ef611a7 (patch) | |
tree | 2767a8c575a2c523f843286b7357b3ec9985767c /src | |
parent | 3a84abea9ab123ef5dc4bac56b22489e7893055f (diff) | |
download | xine-lib-1c13f131692c6c42021a45dcc209f7ec6ef611a7.tar.gz xine-lib-1c13f131692c6c42021a45dcc209f7ec6ef611a7.tar.bz2 |
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
Diffstat (limited to 'src')
-rw-r--r-- | src/xine-engine/xine.c | 5 |
1 files changed, 4 insertions, 1 deletions
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, |