ZegoLiveRoom
zego-api-play-audio-recorder.h
Go to the documentation of this file.
1#ifndef zego_api_play_audio_recorder_h
2#define zego_api_play_audio_recorder_h
3
4#include "audio_in_output.h"
5#include "zego-api-defines.h"
6
7namespace ZEGO
8{
9 namespace AUDIORECORDER
10 {
12 {
13 public:
21 virtual void OnPlayAudioRecorder(const char *streamID, const AVE::AudioFrame frame) = 0;
22
24 };
25
26
34 ZEGOAVKIT_API void EnablePlayAudioRecorder(bool enable, int sampleRate, int channels);
35
43 }
44}
45
46#endif /* zego_api_play_audio_recorder_h */
Definition: zego-api-play-audio-recorder.h:12
virtual void OnPlayAudioRecorder(const char *streamID, const AVE::AudioFrame frame)=0
virtual ~IZegoPlayAudioRecorderCallback()
Definition: zego-api-play-audio-recorder.h:23
ZEGOAVKIT_API void EnablePlayAudioRecorder(bool enable, int sampleRate, int channels)
ZEGOAVKIT_API bool SetPlayAudioRecorderCallback(IZegoPlayAudioRecorderCallback *callback)
Definition: AVDefines.h:17
Definition: audio_in_output.h:42
#define ZEGOAVKIT_API
Definition: zego-api-defines.h:56