LeviLamina
Loading...
Searching...
No Matches
AudioFrame.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5namespace webrtc {
6
7class AudioFrame {
8public:
9 // AudioFrame inner types define
10 enum class VADActivity : int {
11 KVadActive = 0,
12 KVadPassive = 1,
13 KVadUnknown = 2,
14 };
15
16 enum class SpeechType : int {
17 // bitfield representation
18 KNormalSpeech = 0,
19 KPLC = 1 << 0,
20 KCNG = 1 << 1,
21 KUndefined = 1 << 2,
22 KPLCCNG = KPLC | KCNG,
23 KCodecPLC = KPLC | KUndefined,
24 };
25
26 enum : uint64 {
27 KMaxDataSizeSamples = 7680,
28 KMaxDataSizeBytes = 15360,
29 };
30
31public:
32 // member variables
33 // NOLINTBEGIN
48 // NOLINTEND
49
50public:
51 // prevent constructor by default
52 AudioFrame& operator=(AudioFrame const&);
53 AudioFrame(AudioFrame const&);
54 AudioFrame();
55};
56
57} // namespace webrtc
Definition AudioFrame.h:7
Definition Alias.h:14