ZegoLiveRoom
audio_capture.h
Go to the documentation of this file.
1#ifndef ZEGOAudioCapture_h
2#define ZEGOAudioCapture_h
3
4namespace AVE {
8 };
9
12 }
13
18 };
19
21 public:
22
23 };
24
26 public:
27 virtual void OnCapturedAudioData(const char *pData, int data_len,
28 const AudioCaptureFormat& format,
29 AudioBufferType buffer_type,
30 double timestamp_ms) = 0;
31 virtual void SetMicVolume(int volume) = 0;
32 virtual void SetAppVolume(int volume) = 0;
33 };
34}
35#endif /* ZEGOAudioCapture_h */
Definition: audio_capture.h:25
virtual void SetMicVolume(int volume)=0
virtual void SetAppVolume(int volume)=0
virtual void OnCapturedAudioData(const char *pData, int data_len, const AudioCaptureFormat &format, AudioBufferType buffer_type, double timestamp_ms)=0
Definition: audio_capture.h:20
Definition: audio_capture.h:4
AudioBufferType
Definition: audio_capture.h:5
@ BufferTypeAudioApp
Definition: audio_capture.h:6
@ BufferTypeAudioMic
Definition: audio_capture.h:7
Definition: audio_capture.h:10
int bit_depth
Definition: audio_capture.h:16
int num_channels
Definition: audio_capture.h:15
bool is_big_endian
Definition: audio_capture.h:17
int sample_rate
Definition: audio_capture.h:14
AudioCaptureFormat()
Definition: audio_capture.h:11