sela
Main Page
Namespaces
Classes
Files
File List
File Members
src
include
data
sela_header.hpp
Go to the documentation of this file.
1
#ifndef _SELA_HEADER_H_
2
#define _SELA_HEADER_H_
3
4
#include <cstdint>
5
6
namespace
data
{
7
class
SelaHeader
{
8
public
:
9
const
uint8_t
magicNumber
[4] = { 0x53, 0x65, 0x4c, 0x61 };
// SeLa in ASCII
10
uint32_t
sampleRate
;
11
uint16_t
bitsPerSample
;
12
uint8_t
channels
;
13
uint32_t
numFrames
;
14
};
15
}
16
17
#endif
data::SelaHeader::magicNumber
const uint8_t magicNumber[4]
Definition:
sela_header.hpp:9
data
Definition:
audio_packet.hpp:4
data::SelaHeader
Definition:
sela_header.hpp:7
data::SelaHeader::bitsPerSample
uint16_t bitsPerSample
Definition:
sela_header.hpp:11
data::SelaHeader::channels
uint8_t channels
Definition:
sela_header.hpp:12
data::SelaHeader::sampleRate
uint32_t sampleRate
Definition:
sela_header.hpp:10
data::SelaHeader::numFrames
uint32_t numFrames
Definition:
sela_header.hpp:13
Generated by
1.8.11