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