1 /*****************************************************************************
2 * a52.h: ATSC A/52 aka AC-3 decoder plugin for vlc.
3 * This plugin makes use of liba52 to decode A/52 audio
4 * (http://liba52.sf.net/).
5 *****************************************************************************
6 * Copyright (C) 2001 VideoLAN
7 * $Id: a52.h,v 1.2 2002/08/07 21:36:56 massiot Exp $
9 * Authors: Gildas Bazin <gbazin@netcourrier.com>
11 * This program is free software; you can redistribute it and/or modify
12 * it under the terms of the GNU General Public License as published by
13 * the Free Software Foundation; either version 2 of the License, or
14 * (at your option) any later version.
16 * This program is distributed in the hope that it will be useful,
17 * but WITHOUT ANY WARRANTY; without even the implied warranty of
18 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
19 * GNU General Public License for more details.
21 * You should have received a copy of the GNU General Public License
22 * along with this program; if not, write to the Free Software
23 * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111, USA.
24 *****************************************************************************/
26 /*****************************************************************************
27 * a52_thread_t : a52 decoder thread descriptor
28 *****************************************************************************/
29 typedef struct a52_thread_s
34 a52_state_t * p_a52_state;
37 /* The bit stream structure handles the PES stream at the bit level */
38 bit_stream_t bit_stream;
43 decoder_fifo_t * p_fifo; /* stores the PES stream data */
44 data_packet_t * p_data;
49 aout_instance_t * p_aout; /* opaque */
50 aout_input_t * p_aout_input; /* opaque */
51 audio_sample_format_t output_format;