sela
sela_frame.hpp
Go to the documentation of this file.
1 #ifndef _SELA_FRAME_H_
2 #define _SELA_FRAME_H_
3 
4 #include "sela_sub_frame.hpp"
5 
6 namespace data {
7 class SelaFrame {
8 public:
9  const int32_t syncWord = 0xAA55FF00;
10  std::vector<SelaSubFrame> subFrames;
11  uint8_t bitsPerSample; //Not to be written to output
12  explicit SelaFrame(uint8_t bitsPerSample)
13  : bitsPerSample(bitsPerSample)
14  {
15  }
16  uint32_t getByteCount();
17  void write();
18 };
19 }
20 
21 #endif
SelaFrame(uint8_t bitsPerSample)
Definition: sela_frame.hpp:12
uint8_t bitsPerSample
Definition: sela_frame.hpp:11
Definition: audio_packet.hpp:4
const int32_t syncWord
Definition: sela_frame.hpp:9
uint32_t getByteCount()
Definition: sela_frame.hpp:7
std::vector< SelaSubFrame > subFrames
Definition: sela_frame.hpp:10