NERTC macOS/Windows SDK V5.6.40
载入中...
搜索中...
未找到
nertc_audio_device_manager.h
浏览该文件的文档.
1
7#ifndef NERTC_AUDIO_DEVICE_MANAGER_H
8#define NERTC_AUDIO_DEVICE_MANAGER_H
9
10#include "nertc_base_types.h"
13
18namespace nertc
19{
31{
32protected:
33 virtual ~IAudioDeviceManager() {}
34
35public:
94 virtual int setRecordDevice(const char device_id[kNERtcMaxDeviceIDLength]) = 0;
111 virtual int getRecordDevice(char device_id[kNERtcMaxDeviceIDLength]) = 0;
171 virtual int setPlayoutDevice(const char device_id[kNERtcMaxDeviceIDLength]) = 0;
188 virtual int getPlayoutDevice(char device_id[kNERtcMaxDeviceIDLength]) = 0;
189
206 virtual int setRecordDeviceVolume(uint32_t volume) = 0;
223 virtual int getRecordDeviceVolume(uint32_t* volume) = 0;
240 virtual int setPlayoutDeviceVolume(uint32_t volume) = 0;
257 virtual int getPlayoutDeviceVolume(uint32_t* volume) = 0;
258
302 virtual int setPlayoutDeviceMute(bool mute) = 0;
303
324 virtual int getPlayoutDeviceMute(bool *mute) = 0;
373 virtual int setRecordDeviceMute(bool mute) = 0;
374
395 virtual int getRecordDeviceMute(bool *mute) = 0;
396
442 virtual int adjustRecordingSignalVolume(uint32_t volume) = 0;
443
487 virtual int adjustPlaybackSignalVolume(uint32_t volume) = 0;
488
515 virtual int startRecordDeviceTest(uint64_t indication_interval) = 0;
538 virtual int stopRecordDeviceTest() = 0;
566 virtual int startPlayoutDeviceTest(const char *test_audio_file_path) = 0;
587 virtual int stopPlayoutDeviceTest() = 0;
614 virtual int startAudioDeviceLoopbackTest(uint64_t indication_interval) = 0;
636};
637} //namespace nertc
638
639#endif
定义 nertc_audio_device_manager.h:31
virtual int stopAudioDeviceLoopbackTest()=0
virtual int setPlayoutDevice(const char device_id[kNERtcMaxDeviceIDLength])=0
virtual int setRecordDeviceVolume(uint32_t volume)=0
virtual int getRecordDeviceVolume(uint32_t *volume)=0
virtual int setRecordDevice(const char device_id[kNERtcMaxDeviceIDLength])=0
virtual int getRecordDevice(char device_id[kNERtcMaxDeviceIDLength])=0
virtual IDeviceCollection * enumeratePlayoutDevices()=0
virtual int setRecordDeviceMute(bool mute)=0
virtual int getPlayoutDeviceVolume(uint32_t *volume)=0
virtual int startPlayoutDeviceTest(const char *test_audio_file_path)=0
virtual int getPlayoutDeviceMute(bool *mute)=0
virtual int startAudioDeviceLoopbackTest(uint64_t indication_interval)=0
virtual IDeviceCollection * enumerateRecordDevices()=0
virtual int startRecordDeviceTest(uint64_t indication_interval)=0
virtual int stopPlayoutDeviceTest()=0
virtual int adjustPlaybackSignalVolume(uint32_t volume)=0
virtual int getRecordDeviceMute(bool *mute)=0
virtual int stopRecordDeviceTest()=0
virtual int setPlayoutDeviceVolume(uint32_t volume)=0
virtual int adjustRecordingSignalVolume(uint32_t volume)=0
virtual int getPlayoutDevice(char device_id[kNERtcMaxDeviceIDLength])=0
virtual int setPlayoutDeviceMute(bool mute)=0
定义 nertc_device_collection.h:32
namespace nertc
The interface header file of NERTC SDK device NERTC SDK device collection. All parameter descriptions...
NERtc SDK definitions.
#define kNERtcMaxDeviceIDLength
定义 nertc_engine_defines.h:61