summaryrefslogtreecommitdiff
path: root/src/xine-engine/audio_decoder.c
diff options
context:
space:
mode:
authorGuenter Bartsch <guenter@users.sourceforge.net>2001-09-12 22:18:47 +0000
committerGuenter Bartsch <guenter@users.sourceforge.net>2001-09-12 22:18:47 +0000
commit7d6fb6c905dbd842eead370f2412a55eda31cecb (patch)
tree45d81b00889662bf46f3ce4c15f1b898566f1b9f /src/xine-engine/audio_decoder.c
parent436000020930b0ce16be4a34fae8ff5df28450a5 (diff)
downloadxine-lib-7d6fb6c905dbd842eead370f2412a55eda31cecb.tar.gz
xine-lib-7d6fb6c905dbd842eead370f2412a55eda31cecb.tar.bz2
further tweaks and patches for menu support: new buftypes (BUF_CONTROL_DISCONTINUITY,BUF_CONTROL_NOP,BUF_CONTROL_AUDIO_CHANNEL,BUF_CONTROL_SPU_CHANNEL) so input plugins can enhance their communication with the xine engine (regarding pts continuities for example) - not all is implemented yet, but what is implemented is working pretty well - at least for me ;))
CVS patchset: 627 CVS date: 2001/09/12 22:18:47
Diffstat (limited to 'src/xine-engine/audio_decoder.c')
-rw-r--r--src/xine-engine/audio_decoder.c14
1 files changed, 12 insertions, 2 deletions
diff --git a/src/xine-engine/audio_decoder.c b/src/xine-engine/audio_decoder.c
index eeb542619..74a88c2df 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.38 2001/09/12 17:33:34 guenter Exp $
+ * $Id: audio_decoder.c,v 1.39 2001/09/12 22:18:47 guenter Exp $
*
*
* functions that implement audio decoding
@@ -124,7 +124,17 @@ void *audio_decoder_loop (void *this_gen) {
}
running = 0;
break;
-
+
+ case BUF_VIDEO_FILL:
+ break;
+
+ case BUF_CONTROL_NOP:
+ break;
+
+ case BUF_CONTROL_DISCONTINUITY:
+ this->metronom->expect_audio_discontinuity (this->metronom);
+ break;
+
default:
while (this->audio_mute==2) {