From ee8df4f4d8e2088da9dbc38e3230fad1de64908f Mon Sep 17 00:00:00 2001 From: Guenter Bartsch Date: Sat, 23 Jun 2001 19:45:47 +0000 Subject: fixed race between metronom and xine engine, small audio plugin api change to improve responsiveness (unfinished), small demux_mpeg_block bugfix (alignment for DVD plugin) CVS patchset: 218 CVS date: 2001/06/23 19:45:47 --- src/xine-engine/audio_decoder.c | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'src/xine-engine/audio_decoder.c') diff --git a/src/xine-engine/audio_decoder.c b/src/xine-engine/audio_decoder.c index e7deee9ed..249f70777 100644 --- a/src/xine-engine/audio_decoder.c +++ b/src/xine-engine/audio_decoder.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: audio_decoder.c,v 1.21 2001/06/17 19:14:26 guenter Exp $ + * $Id: audio_decoder.c,v 1.22 2001/06/23 19:45:47 guenter Exp $ * * * functions that implement audio decoding @@ -72,10 +72,15 @@ void *audio_decoder_loop (void *this_gen) { this->audio_track_map[0] = 0; this->audio_track_map_entries = 0; + + this->metronom->audio_stream_start (this->metronom); break; case BUF_CONTROL_END: + + this->metronom->audio_stream_end (this->metronom); + if (this->cur_audio_decoder_plugin) { this->cur_audio_decoder_plugin->close (this->cur_audio_decoder_plugin); this->cur_audio_decoder_plugin = NULL; -- cgit v1.2.3