diff options
author | Guenter Bartsch <guenter@users.sourceforge.net> | 2001-06-04 17:13:36 +0000 |
---|---|---|
committer | Guenter Bartsch <guenter@users.sourceforge.net> | 2001-06-04 17:13:36 +0000 |
commit | 1a2c748129e3709e7852b65dac1ff9600e8b309e (patch) | |
tree | 00433142aa191aa76e25f3d1470e0a1b34d9238c /src/xine-engine/metronom.c | |
parent | 4aa1174b670a1a177ac736ff6fcdae39ef5ba5f5 (diff) | |
download | xine-lib-1a2c748129e3709e7852b65dac1ff9600e8b309e.tar.gz xine-lib-1a2c748129e3709e7852b65dac1ff9600e8b309e.tar.bz2 |
a radically simplified (but working) audio output syncing method
CVS patchset: 123
CVS date: 2001/06/04 17:13:36
Diffstat (limited to 'src/xine-engine/metronom.c')
-rw-r--r-- | src/xine-engine/metronom.c | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/src/xine-engine/metronom.c b/src/xine-engine/metronom.c index c1f54405a..224348c3a 100644 --- a/src/xine-engine/metronom.c +++ b/src/xine-engine/metronom.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: metronom.c,v 1.7 2001/06/03 18:08:56 guenter Exp $ + * $Id: metronom.c,v 1.8 2001/06/04 17:13:36 guenter Exp $ */ #ifdef HAVE_CONFIG_H @@ -39,7 +39,7 @@ #define MAX_PTS_TOLERANCE 5000 #define MAX_VIDEO_DELTA 1600 #define AUDIO_SAMPLE_NUM 32768 -#define MAX_WRAP_TOLERANCE 180000 +#define MAX_WRAP_TOLERANCE 90000 static void metronom_reset (metronom_t *this) { @@ -66,11 +66,6 @@ static void metronom_reset (metronom_t *this) { this->av_offset = 0; - this->stopped = 1; - - this->last_pts = 0; - this->start_pts = 0; - pthread_mutex_unlock (&this->lock); } |