diff options
author | Guenter Bartsch <guenter@users.sourceforge.net> | 2001-11-10 13:48:02 +0000 |
---|---|---|
committer | Guenter Bartsch <guenter@users.sourceforge.net> | 2001-11-10 13:48:02 +0000 |
commit | b602849ad7cd8ce3b9c99da97bc3b4138cf8159d (patch) | |
tree | a6e53a2a202672f963aea421a7ab6dcb6152a12c /src/xine-engine/audio_decoder.c | |
parent | 1944fafeb5b8d23bd667cbf9b97cb115b2517483 (diff) | |
download | xine-lib-b602849ad7cd8ce3b9c99da97bc3b4138cf8159d.tar.gz xine-lib-b602849ad7cd8ce3b9c99da97bc3b4138cf8159d.tar.bz2 |
very unfinished scr discontinuity detection stuff, new software audio out buffer and thread
CVS patchset: 1010
CVS date: 2001/11/10 13:48:02
Diffstat (limited to 'src/xine-engine/audio_decoder.c')
-rw-r--r-- | src/xine-engine/audio_decoder.c | 15 |
1 files changed, 13 insertions, 2 deletions
diff --git a/src/xine-engine/audio_decoder.c b/src/xine-engine/audio_decoder.c index 9a7a6015a..0e920f477 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.50 2001/10/22 01:23:08 jcdutton Exp $ + * $Id: audio_decoder.c,v 1.51 2001/11/10 13:48:03 guenter Exp $ * * * functions that implement audio decoding @@ -124,13 +124,24 @@ void *audio_decoder_loop (void *this_gen) { break; case BUF_VIDEO_FILL: - this->metronom->got_audio_still (this->metronom); break; case BUF_CONTROL_NOP: break; case BUF_CONTROL_DISCONTINUITY: + printf ("audio_decoder: BUF_CONTROL_DISCONTINUITY is deprecated\n"); + break; + + case BUF_CONTROL_AVSYNC_RESET: + printf ("audio_decoder: discontinuity ahead\n"); + + /* fixme ? */ + if (this->cur_audio_decoder_plugin) { + this->cur_audio_decoder_plugin->close (this->cur_audio_decoder_plugin); + this->cur_audio_decoder_plugin = NULL; + } + this->metronom->expect_audio_discontinuity (this->metronom); break; |