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