/*****************************************************************************
- * audio_decoder.h : audio decoder thread interface
+ * mpeg_adec.h : audio decoder thread interface
*****************************************************************************
* Copyright (C) 1999, 2000 VideoLAN
- * $Id: audio_decoder.h,v 1.7 2001/05/01 04:18:18 sam Exp $
+ * $Id: mpeg_adec.h,v 1.1 2001/11/13 12:09:18 henri Exp $
*
* Authors: Michel Kaempf <maxx@via.ecp.fr>
*
*****************************************************************************/
typedef struct adec_thread_s
{
- /*
- * Thread properties
+ /*
+ * Sync Information
*/
- vlc_thread_t thread_id; /* id for thread functions */
-
+ int i_sync;
/*
* Input properties
*/
/* The bit stream structure handles the PES stream at the bit level */
bit_stream_t bit_stream;
int i_read_bits;
- adec_config_t * p_config;
+ decoder_config_t * p_config;
/*
* Decoder properties
/*****************************************************************************
* Prototypes
*****************************************************************************/
-vlc_thread_t adec_CreateThread ( adec_config_t * p_config );
-int adec_Init ( adec_thread_t * p_adec );
-int adec_SyncFrame ( adec_thread_t * p_adec,
- adec_sync_info_t * p_sync_info );
-int adec_DecodeFrame ( adec_thread_t * p_adec, s16 * buffer );
+/*
+ * From adec_generic.c
+ */
+int adec_SyncFrame( adec_thread_t *, adec_sync_info_t * );
+int adec_DecodeFrame( adec_thread_t * , s16 * );