LeviLamina
Loading...
Searching...
No Matches
AudioMixer.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/external/webrtc/RefCountInterface.h"
7
8// auto generated forward declare list
9// clang-format off
10namespace webrtc { class AudioFrame; }
11// clang-format on
12
13namespace webrtc {
14
16public:
17 // AudioMixer inner types declare
18 // clang-format off
19 class Source;
20 // clang-format on
21
22 // AudioMixer inner types define
23 class Source {
24 public:
25 // Source inner types define
26 enum class AudioFrameInfo : int {
27 KNormal = 0,
28 KMuted = 1,
29 KError = 2,
30 };
31
32 public:
33 // virtual functions
34 // NOLINTBEGIN
35 // vIndex: 0
36 virtual ::webrtc::AudioMixer::Source::AudioFrameInfo GetAudioFrameWithInfo(int, ::webrtc::AudioFrame*) = 0;
37
38 // vIndex: 1
39 virtual int Ssrc() const = 0;
40
41 // vIndex: 2
42 virtual int PreferredSampleRate() const = 0;
43
44 // vIndex: 3
45 virtual ~Source() = default;
46 // NOLINTEND
47
48 public:
49 // destructor thunk
50 // NOLINTBEGIN
51
52 // NOLINTEND
53
54 public:
55 // virtual function thunks
56 // NOLINTBEGIN
57
58 // NOLINTEND
59 };
60
61public:
62 // virtual functions
63 // NOLINTBEGIN
64 // vIndex: 3
65 virtual bool AddSource(::webrtc::AudioMixer::Source*) = 0;
66
67 // vIndex: 4
68 virtual void RemoveSource(::webrtc::AudioMixer::Source*) = 0;
69
70 // vIndex: 5
71 virtual void Mix(uint64, ::webrtc::AudioFrame*) = 0;
72
73 // vIndex: 2
74 virtual ~AudioMixer() /*override*/ = default;
75 // NOLINTEND
76
77public:
78 // destructor thunk
79 // NOLINTBEGIN
80
81 // NOLINTEND
82
83public:
84 // virtual function thunks
85 // NOLINTBEGIN
86
87 // NOLINTEND
88};
89
90} // namespace webrtc
Definition AudioFrame.h:7
Definition AudioMixer.h:23
Definition AudioMixer.h:15
Definition RefCountInterface.h:10