diff options
Diffstat (limited to 'src/xine-engine/xine.c')
-rw-r--r-- | src/xine-engine/xine.c | 20 |
1 files changed, 2 insertions, 18 deletions
diff --git a/src/xine-engine/xine.c b/src/xine-engine/xine.c index eb08a1e7b..542958083 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.29 2001/06/21 17:34:24 guenter Exp $ + * $Id: xine.c,v 1.30 2001/06/23 19:45:47 guenter Exp $ * * top-level xine functions * @@ -93,9 +93,6 @@ void xine_stop (xine_t *this) { this->spu_fifo->clear(this->spu_fifo); - this->metronom->stop_clock (this->metronom); - this->metronom->reset(this->metronom); - pthread_mutex_unlock (&this->xine_lock); } @@ -219,12 +216,6 @@ static void xine_play_internal (xine_t *this, char *mrl, this->cur_demuxer_plugin->get_identifier()); /* - * metronom - */ - - this->metronom->reset(this->metronom); - - /* * start demuxer */ @@ -244,11 +235,6 @@ static void xine_play_internal (xine_t *this, char *mrl, this->status = XINE_PLAY; strncpy (this->cur_mrl, mrl, 1024); - /* - * start clock - */ - - this->metronom->start_clock (this->metronom, 0); } void xine_play (xine_t *this, char *MRL, int spos) { @@ -389,7 +375,7 @@ xine_t *xine_init (vo_driver_t *vo, * create a metronom */ - this->metronom = metronom_init (); + this->metronom = metronom_init (ao != NULL); /* * load input and demuxer plugins @@ -440,8 +426,6 @@ void xine_select_audio_channel (xine_t *this, int channel) { this->audio_channel = channel; - /* this->metronom->reset(this->metronom); */ - pthread_mutex_unlock (&this->xine_lock); } |