Struct RawAudio¶
Defined in File schemas.hpp
Struct Documentation¶
-
struct RawAudio¶
A single block of an audio bitstream.
Public Members
-
std::vector<std::byte> data¶
Audio data. The samples in the data must be interleaved and little-endian.
-
std::string format¶
Audio format. Only ‘pcm-s16’ is currently supported.
-
uint32_t sample_rate = 0¶
Sample rate in Hz.
-
uint32_t number_of_channels = 0¶
Number of channels in the audio block.
-
std::vector<std::byte> data¶