MistServer  2.5.3-Pro-19-gf5e75b1 ( Generic_64)
adts.h
Go to the documentation of this file.
1 #include <string>
2 
3 namespace aac {
4  class adts {
5  public:
6  adts();
7  adts(char * _data, unsigned long _len);
8  adts(const adts & rhs);
9  ~adts();
10  adts& operator = (const adts & rhs);
11  unsigned long getAACProfile();
12  unsigned long getFrequencyIndex();
13  unsigned long getFrequency();
14  unsigned long getChannelConfig();
15  unsigned long getChannelCount();
16  unsigned long getHeaderSize();
17  unsigned long getPayloadSize();
18  unsigned long getSampleCount();
19  char * getPayload();
20  std::string toPrettyString();
21  private:
22  char * data;
23  unsigned long len;
24  };
25 }
adts & operator=(const adts &rhs)
Definition: adts.cpp:27
Definition: adts.cpp:9
unsigned long getChannelCount()
Definition: adts.cpp:87
char * data
Definition: adts.h:22
adts()
Definition: adts.cpp:10
unsigned long getFrequency()
Definition: adts.cpp:58
unsigned long len
Definition: adts.h:23
~adts()
Definition: adts.cpp:37
unsigned long getAACProfile()
Definition: adts.cpp:43
unsigned long getFrequencyIndex()
Definition: adts.cpp:50
unsigned long getPayloadSize()
Definition: adts.cpp:101
unsigned long getChannelConfig()
Definition: adts.cpp:80
Definition: adts.h:4
char * getPayload()
Definition: adts.cpp:115
std::string toPrettyString()
Definition: adts.cpp:121
unsigned long getSampleCount()
Definition: adts.cpp:108
unsigned long getHeaderSize()
Definition: adts.cpp:94