![]() |
TSDuck v3.46-4930
MPEG Transport Stream Toolkit
|
#include <tsAC3Attributes.h>


Public Member Functions | |
| AC3Attributes ()=default | |
| UString | audioCodingDescription () const |
| int | audioCodingMode () const |
| int | bitstreamId () const |
| int | bitstreamMode () const |
| UString | bitstreamModeDescription () const |
| uint8_t | componentType () const |
| bool | dolbySurround () const |
| void | invalidate () |
| bool | isEnhancedAC3 () const |
| bool | isValid () const |
| virtual bool | moreBinaryData (const uint8_t *, size_t) override |
| int | samplingFrequency () const |
| virtual UString | toString () const override |
Protected Attributes | |
| bool | _is_valid = false |
AC-3 (DD) and Enhanced-AC-3 (DD+) audio attributes.
See ETSI TS 102 366 for the specification and encoding of AC-3 and Enhanced-AC-3.
An AC3Attributes object is built by transmitting audio frames from PES payloads. Initially, an AC3Attributes object is invalid.
|
default |
Default constructor.
|
overridevirtual |
Provides an audio/video binary data to be analyzed by this instance. The type of data (complete PES payload or some type of "frame" or "access unit") depends on the type of audio/video.
| [in] | addr | Address of data to be analyzed. |
| [in] | size | Size of data to be analyzed. |
Implements ts::AbstractAudioVideoAttributes.
|
overridevirtual |
Convert to a string object.
Implements ts::StringifyInterface.
|
inline |
Check if this is Enhanced-AC-3.
|
inline |
Bitstream identification ("bsid").
|
inline |
Bitstream mode ("bsmod", metadata info).
| UString ts::AC3Attributes::bitstreamModeDescription | ( | ) | const |
String representation of bitstream mode.
|
inline |
Audio coding mode ("acmod").
| UString ts::AC3Attributes::audioCodingDescription | ( | ) | const |
String representation of audio coding mode.
|
inline |
Sampling frequency in Hz.
|
inline |
Check if this is Dolby Surround.
| uint8_t ts::AC3Attributes::componentType | ( | ) | const |
Rebuild a component_type for AC-3 descriptors.
|
inlineinherited |
Check if the values in the object are valid.
|
inlineinherited |
Invalidate the content of this instance. It must be rebuilt using audio/video binary data.
|
protectedinherited |
A flag which indicates if the content of this object is valid. It is the responsibility of the subclasses to set it.