1 /*****************************************************************************
2 * spdif.h: header for A52 pass-through
3 *****************************************************************************
4 * Copyright (C) 2001 VideoLAN
5 * $Id: spdif.h,v 1.1 2002/08/04 17:23:42 sam Exp $
7 * Authors: Stéphane Borel <stef@via.ecp.fr>
9 * This program is free software; you can redistribute it and/or modify
10 * it under the terms of the GNU General Public License as published by
11 * the Free Software Foundation; either version 2 of the License, or
12 * (at your option) any later version.
14 * This program is distributed in the hope that it will be useful,
15 * but WITHOUT ANY WARRANTY; without even the implied warranty of
16 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17 * GNU General Public License for more details.
19 * You should have received a copy of the GNU General Public License
20 * along with this program; if not, write to the Free Software
21 * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111, USA.
22 ****************************************************************************/
24 /****************************************************************************
25 * information about A52 frame
26 ****************************************************************************/
27 typedef struct sync_frame_s
43 typedef struct frame_size_s
57 /*****************************************************************************
58 * spdif_thread_t : A52 pass-through thread descriptor
59 *****************************************************************************/
60 typedef struct spdif_thread_s
65 vlc_thread_t thread_id; /* id for thread functions */
70 decoder_fifo_t * p_fifo; /* stores the PES stream data */
72 /* The bit stream structure handles the PES stream at the bit level */
73 bit_stream_t bit_stream;
82 /* current pes date */
89 int i_previous_format;
90 aout_fifo_t * p_aout_fifo; /* stores the decompressed audio frames */