diff options
author | Miguel Freitas <miguelfreitas@users.sourceforge.net> | 2002-04-01 12:09:08 +0000 |
---|---|---|
committer | Miguel Freitas <miguelfreitas@users.sourceforge.net> | 2002-04-01 12:09:08 +0000 |
commit | ea913a96287487006e871aaada963dad44d20a3e (patch) | |
tree | b34ae062270657d0f9a8261273ff13682de487ac /src/xine-engine/audio_out.c | |
parent | 5cd3cd24d98bf43115d0181f762bb62e5dd21880 (diff) | |
download | xine-lib-ea913a96287487006e871aaada963dad44d20a3e.tar.gz xine-lib-ea913a96287487006e871aaada963dad44d20a3e.tar.bz2 |
latest dxr3 fixes from Michael Roitzsch.
removed METRONOM_DENY_BACKWARD_ADJUST hack.
CVS patchset: 1653
CVS date: 2002/04/01 12:09:08
Diffstat (limited to 'src/xine-engine/audio_out.c')
-rw-r--r-- | src/xine-engine/audio_out.c | 11 |
1 files changed, 3 insertions, 8 deletions
diff --git a/src/xine-engine/audio_out.c b/src/xine-engine/audio_out.c index 52d5c46f3..4326d598e 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.50 2002/03/31 14:36:42 mlampard Exp $ + * $Id: audio_out.c,v 1.51 2002/04/01 12:09: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> @@ -344,13 +344,8 @@ static void *ao_loop (void *this_gen) { cur_time > (last_sync_time + SYNC_TIME_INVERVAL) && bufs_since_sync >= SYNC_BUF_INTERVAL ) { - if (!this->metronom->get_option(this->metronom, METRONOM_DENY_BACKWARD_ADJUST) || - gap < 0) { - this->metronom->set_option(this->metronom, METRONOM_ADJ_VPTS_OFFSET, - -gap/SYNC_GAP_RATE ); - } else { - ao_fill_gap(this, gap); - } + this->metronom->set_option(this->metronom, METRONOM_ADJ_VPTS_OFFSET, + -gap/SYNC_GAP_RATE ); last_sync_time = cur_time; bufs_since_sync = 0; } |