libdvbpsi  1.2.0
dr_81.h
Go to the documentation of this file.
1 /*
2 Copyright (C) 2013-2014 Michael Ira Krufky
3 
4 This library is free software; you can redistribute it and/or
5 modify it under the terms of the GNU Lesser General Public
6 License as published by the Free Software Foundation; either
7 version 2.1 of the License, or (at your option) any later version.
8 
9 This library is distributed in the hope that it will be useful,
10 but WITHOUT ANY WARRANTY; without even the implied warranty of
11 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12 Lesser General Public License for more details.
13 
14 You should have received a copy of the GNU Lesser General Public
15 License along with this library; if not, write to the Free Software
16 Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
17 
18 dr_81.h
19 
20 Decode AC-3 Audio Descriptor.
21 
22 */
23 
30 #ifndef _DR_81_H
31 #define _DR_81_H
32 
33 #ifdef __cplusplus
34 extern "C" {
35 #endif
36 
37 /*****************************************************************************
38  * dvbpsi_ac3_audio_dr_s
39  *****************************************************************************/
50 typedef struct dvbpsi_ac3_audio_dr_s
51 {
53  uint8_t i_bsid;
54  uint8_t i_bit_rate_code;
55  uint8_t i_surround_mode;
56  uint8_t i_bsmod;
57  uint8_t i_num_channels;
58  int b_full_svc;
59  uint8_t i_lang_code;
60  uint8_t i_lang_code2;
61  uint8_t i_mainid;
62  uint8_t i_priority;
63  uint8_t i_asvcflags;
64  uint8_t i_textlen;
66  unsigned char text[128];
69  uint8_t language[3];
70  uint8_t language_2[3];
72 
73 /*****************************************************************************
74  * dvbpsi_DecodeAc3AudioDr
75  *****************************************************************************/
84 
85 #ifdef __cplusplus
86 }
87 #endif
88 
89 #endif
90