MythTV  master
Public Member Functions | List of all members
AudioStreamDescriptor Class Reference

#include <atscdescriptors.h>

Inheritance diagram for AudioStreamDescriptor:
Inheritance graph
[legend]
Collaboration diagram for AudioStreamDescriptor:
Collaboration graph
[legend]

Public Member Functions

 AudioStreamDescriptor (const unsigned char *data, int len=300)
 
uint SampleRateCode (void) const
 
QString SampleRateCodeString (void) const
 
uint bsid (void) const
 
uint BitRateCode (void) const
 
QString BitRateCodeString (void) const
 
uint SurroundMode (void) const
 
QString SurroundModeString (void) const
 
uint BasicServiceMode (void) const
 
uint Channels (void) const
 
QString ChannelsString (void) const
 
bool FullService (void) const
 
uint LanguageCode (void) const
 
uint LanguageCode2 (void) const
 
uint MainID (void) const
 
uint AServiceFlags (void) const
 
uint TextLength (void) const
 
bool IsTextLatin1 (void) const
 
QString Text (void) const
 
QString toString () const override
 
- Public Member Functions inherited from MPEGDescriptor
 operator const unsigned char * () const
 
 MPEGDescriptor (const unsigned char *data, int len=300)
 
 MPEGDescriptor (const unsigned char *data, int len, uint tag)
 
 MPEGDescriptor (const unsigned char *data, int len, uint tag, uint req_desc_len)
 
virtual ~MPEGDescriptor ()=default
 
bool IsValid (void) const
 
uint size (void) const
 
uint DescriptorTag (void) const
 
QString DescriptorTagString (void) const
 
uint DescriptorLength (void) const
 
virtual QString toStringXML (uint indent_level) const
 Returns XML representation of string the TS Reader XML format. More...
 
QString hexdump (void) const
 

Additional Inherited Members

- Static Public Member Functions inherited from MPEGDescriptor
static desc_list_t Parse (const unsigned char *data, uint len)
 
static desc_list_t ParseAndExclude (const unsigned char *data, uint len, int excluded_descid)
 
static desc_list_t ParseOnlyInclude (const unsigned char *data, uint len, int excluded_descid)
 
static const unsigned char * Find (const desc_list_t &parsed, uint desc_tag)
 
static desc_list_t FindAll (const desc_list_t &parsed, uint desc_tag)
 
static const unsigned char * FindBestMatch (const desc_list_t &parsed, uint desc_tag, QMap< uint, uint > &langPref)
 
static desc_list_t FindBestMatches (const desc_list_t &parsed, uint desc_tag, QMap< uint, uint > &langPref)
 
- Protected Attributes inherited from MPEGDescriptor
const unsigned char * _data
 

Detailed Description

Definition at line 208 of file atscdescriptors.h.

Constructor & Destructor Documentation

◆ AudioStreamDescriptor()

AudioStreamDescriptor::AudioStreamDescriptor ( const unsigned char *  data,
int  len = 300 
)
inline

Definition at line 211 of file atscdescriptors.h.

Member Function Documentation

◆ SampleRateCode()

uint AudioStreamDescriptor::SampleRateCode ( void  ) const
inline

Definition at line 215 of file atscdescriptors.h.

◆ SampleRateCodeString()

QString AudioStreamDescriptor::SampleRateCodeString ( void  ) const

Definition at line 235 of file atscdescriptors.cpp.

◆ bsid()

uint AudioStreamDescriptor::bsid ( void  ) const
inline

Definition at line 218 of file atscdescriptors.h.

◆ BitRateCode()

uint AudioStreamDescriptor::BitRateCode ( void  ) const
inline

Definition at line 220 of file atscdescriptors.h.

◆ BitRateCodeString()

QString AudioStreamDescriptor::BitRateCodeString ( void  ) const

Definition at line 246 of file atscdescriptors.cpp.

◆ SurroundMode()

uint AudioStreamDescriptor::SurroundMode ( void  ) const
inline

Definition at line 223 of file atscdescriptors.h.

◆ SurroundModeString()

QString AudioStreamDescriptor::SurroundModeString ( void  ) const

Definition at line 271 of file atscdescriptors.cpp.

◆ BasicServiceMode()

uint AudioStreamDescriptor::BasicServiceMode ( void  ) const
inline

Definition at line 232 of file atscdescriptors.h.

◆ Channels()

uint AudioStreamDescriptor::Channels ( void  ) const
inline

Definition at line 234 of file atscdescriptors.h.

◆ ChannelsString()

QString AudioStreamDescriptor::ChannelsString ( void  ) const

Definition at line 283 of file atscdescriptors.cpp.

◆ FullService()

bool AudioStreamDescriptor::FullService ( void  ) const
inline

Definition at line 239 of file atscdescriptors.h.

◆ LanguageCode()

uint AudioStreamDescriptor::LanguageCode ( void  ) const
inline

Definition at line 243 of file atscdescriptors.h.

◆ LanguageCode2()

uint AudioStreamDescriptor::LanguageCode2 ( void  ) const
inline

Definition at line 247 of file atscdescriptors.h.

◆ MainID()

uint AudioStreamDescriptor::MainID ( void  ) const
inline

Definition at line 251 of file atscdescriptors.h.

◆ AServiceFlags()

uint AudioStreamDescriptor::AServiceFlags ( void  ) const
inline

Definition at line 258 of file atscdescriptors.h.

◆ TextLength()

uint AudioStreamDescriptor::TextLength ( void  ) const
inline

Definition at line 264 of file atscdescriptors.h.

◆ IsTextLatin1()

bool AudioStreamDescriptor::IsTextLatin1 ( void  ) const
inline

Definition at line 273 of file atscdescriptors.h.

◆ Text()

QString AudioStreamDescriptor::Text ( void  ) const
inline

Definition at line 280 of file atscdescriptors.h.

◆ toString()

QString AudioStreamDescriptor::toString ( void  ) const
overridevirtual

Reimplemented from MPEGDescriptor.

Definition at line 295 of file atscdescriptors.cpp.


The documentation for this class was generated from the following files: