sela
wav_frame.hpp
Go to the documentation of this file.
1 #ifndef _WAV_FRAME_H_
2 #define _WAV_FRAME_H_
3 
4 #include <cstdint>
5 #include <vector>
6 
7 namespace data {
8 class WavFrame {
9 public:
10  uint8_t bitsPerSample;
11  std::vector<std::vector<int32_t>> samples;
12  WavFrame(uint8_t bitsPerSample, std::vector<std::vector<int32_t>> samples)
13  : bitsPerSample(bitsPerSample)
14  , samples(samples)
15  {
16  }
17 };
18 }
19 
20 #endif
Definition: audio_packet.hpp:4
std::vector< std::vector< int32_t > > samples
Definition: wav_frame.hpp:11
uint8_t bitsPerSample
Definition: wav_frame.hpp:10
Definition: wav_frame.hpp:8
WavFrame(uint8_t bitsPerSample, std::vector< std::vector< int32_t >> samples)
Definition: wav_frame.hpp:12