summaryrefslogtreecommitdiff
path: root/src/xine-engine/audio_decoder.c
diff options
context:
space:
mode:
authorGuenter Bartsch <guenter@users.sourceforge.net>2001-06-23 19:45:47 +0000
committerGuenter Bartsch <guenter@users.sourceforge.net>2001-06-23 19:45:47 +0000
commitee8df4f4d8e2088da9dbc38e3230fad1de64908f (patch)
tree945c14e183c1c36bf91050e036efa67ae205e5e3 /src/xine-engine/audio_decoder.c
parent5e9ccc6f1f1689a317e574f48d3acedce3d11a40 (diff)
downloadxine-lib-ee8df4f4d8e2088da9dbc38e3230fad1de64908f.tar.gz
xine-lib-ee8df4f4d8e2088da9dbc38e3230fad1de64908f.tar.bz2
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
Diffstat (limited to 'src/xine-engine/audio_decoder.c')
-rw-r--r--src/xine-engine/audio_decoder.c7
1 files changed, 6 insertions, 1 deletions
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;