LeviLamina
Loading...
Searching...
No Matches
AudioSource.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5namespace cricket {
6
8public:
9 // AudioSource inner types declare
10 // clang-format off
11 class Sink;
12 // clang-format on
13
14 // AudioSource inner types define
15 class Sink {
16 public:
17 // virtual functions
18 // NOLINTBEGIN
19 // vIndex: 0
20 virtual void OnData(void const*, int, int, uint64, uint64, ::std::optional<int64>) = 0;
21
22 // vIndex: 1
23 virtual void OnClose() = 0;
24
25 // vIndex: 2
26 virtual int NumPreferredChannels() const = 0;
27
28 // vIndex: 3
29 virtual ~Sink() = default;
30 // NOLINTEND
31
32 public:
33 // virtual function thunks
34 // NOLINTBEGIN
35
36 // NOLINTEND
37 };
38
39public:
40 // virtual functions
41 // NOLINTBEGIN
42 // vIndex: 0
43 virtual void SetSink(::cricket::AudioSource::Sink*) = 0;
44
45 // vIndex: 1
46 virtual ~AudioSource() = default;
47 // NOLINTEND
48
49public:
50 // virtual function thunks
51 // NOLINTBEGIN
52
53 // NOLINTEND
54
55public:
56 // vftables
57 // NOLINTBEGIN
58 MCNAPI static void** $vftable();
59 // NOLINTEND
60};
61
62} // namespace cricket
Definition AudioSource.h:15
Definition AudioSource.h:7
static MCAPI void ** $vftable()