cn.tee3.avd_SDK-C++  3.2.0
Public 成员函数 | 静态 Public 成员函数 | 所有成员列表
tee3::avd::GlobalDeviceManager类 参考abstract

全局设备管理接口。 更多...

Public 成员函数

virtual void AddCameraListener (CameraListener *cameraListener)=0
 
virtual void AddMicrophoneListener (MicrophoneListener *microphoneListener)=0
 
virtual void AddSpeakerListener (SpeakerListener *cameraListener)=0
 
virtual void RemoveCameraListener (CameraListener *cameraListener)=0
 
virtual void RemoveMicrophoneListener (MicrophoneListener *microphoneListener)=0
 
virtual void RemoveSpeakerListener (SpeakerListener *speakerListener)=0
 
virtual uint32 GetInputLevel ()=0
 
virtual uint32 GetOutputLevel ()=0
 
virtual bool RecordPlayStart ()=0
 
virtual bool RecordPlayStop ()=0
 
virtual bool PlayVoice (const std::string &file, bool loop, tee3::avd::FileFormats format)=0
 
virtual bool IsPlayingVoice ()=0
 
virtual bool StopVoice ()=0
 
virtual ~GlobalDeviceManager ()
 

静态 Public 成员函数

static GlobalDeviceManager * Instance ()
 获取设备管理接口句柄。 更多...
 
static bool SetAudioInterface (AudioInInterface *in, AudioOutInterface *out)
 设置音频导入导出接口。 更多...
 
static bool GetCameras (tee3::avd::CamerasType &devices)
 
static bool GetMicphones (tee3::avd::MicrophonesType &devices)
 
static bool GetFakeMicphone (tee3::avd::Microphone &micphone)
 
static bool GetSpeakers (tee3::avd::SpeakersType &devices)
 
static bool GetScreenWnds (tee3::avd::ScreensType &devices)
 
static bool GetRecordingMicrophone (tee3::avd::Microphone &micphone)
 
static bool SetRecordingMicrophone (const tee3::avd::Microphone &micphone)
 
static bool GetPlayoutSpeaker (tee3::avd::Speaker &speaker)
 
static bool SetPlayoutSpeaker (const tee3::avd::Speaker &speaker)
 
static bool SetPlayoutVolume (uint32 volume)
 
static uint32 GetPlayoutVolume ()
 
static bool SetRecordingVolume (uint32 volume)
 
static uint32 GetRecordingVolume ()
 
static tee3::avd::CapabilitiesType GetCapabilities (const std::string &id)
 

详细描述

全局设备管理接口。

构造及析构函数说明

◆ ~GlobalDeviceManager()

virtual tee3::avd::GlobalDeviceManager::~GlobalDeviceManager ( )
virtual

成员函数说明

◆ AddCameraListener()

virtual void tee3::avd::GlobalDeviceManager::AddCameraListener ( CameraListener *  cameraListener)
pure virtual

◆ AddMicrophoneListener()

virtual void tee3::avd::GlobalDeviceManager::AddMicrophoneListener ( MicrophoneListener *  microphoneListener)
pure virtual

◆ AddSpeakerListener()

virtual void tee3::avd::GlobalDeviceManager::AddSpeakerListener ( SpeakerListener *  cameraListener)
pure virtual

◆ GetCameras()

static bool tee3::avd::GlobalDeviceManager::GetCameras ( tee3::avd::CamerasType &  devices)
static

◆ GetCapabilities()

static tee3::avd::CapabilitiesType tee3::avd::GlobalDeviceManager::GetCapabilities ( const std::string &  id)
static

◆ GetFakeMicphone()

static bool tee3::avd::GlobalDeviceManager::GetFakeMicphone ( tee3::avd::Microphone &  micphone)
static

◆ GetInputLevel()

virtual uint32 tee3::avd::GlobalDeviceManager::GetInputLevel ( )
pure virtual

◆ GetMicphones()

static bool tee3::avd::GlobalDeviceManager::GetMicphones ( tee3::avd::MicrophonesType &  devices)
static

◆ GetOutputLevel()

virtual uint32 tee3::avd::GlobalDeviceManager::GetOutputLevel ( )
pure virtual

◆ GetPlayoutSpeaker()

static bool tee3::avd::GlobalDeviceManager::GetPlayoutSpeaker ( tee3::avd::Speaker &  speaker)
static

◆ GetPlayoutVolume()

static uint32 tee3::avd::GlobalDeviceManager::GetPlayoutVolume ( )
static

◆ GetRecordingMicrophone()

static bool tee3::avd::GlobalDeviceManager::GetRecordingMicrophone ( tee3::avd::Microphone &  micphone)
static

◆ GetRecordingVolume()

static uint32 tee3::avd::GlobalDeviceManager::GetRecordingVolume ( )
static

◆ GetScreenWnds()

static bool tee3::avd::GlobalDeviceManager::GetScreenWnds ( tee3::avd::ScreensType &  devices)
static

◆ GetSpeakers()

static bool tee3::avd::GlobalDeviceManager::GetSpeakers ( tee3::avd::SpeakersType &  devices)
static

◆ Instance()

static GlobalDeviceManager* tee3::avd::GlobalDeviceManager::Instance ( )
static

获取设备管理接口句柄。

返回
返回句柄。

◆ IsPlayingVoice()

virtual bool tee3::avd::GlobalDeviceManager::IsPlayingVoice ( )
pure virtual

◆ PlayVoice()

virtual bool tee3::avd::GlobalDeviceManager::PlayVoice ( const std::string &  file,
bool  loop,
tee3::avd::FileFormats  format 
)
pure virtual

◆ RecordPlayStart()

virtual bool tee3::avd::GlobalDeviceManager::RecordPlayStart ( )
pure virtual

◆ RecordPlayStop()

virtual bool tee3::avd::GlobalDeviceManager::RecordPlayStop ( )
pure virtual

◆ RemoveCameraListener()

virtual void tee3::avd::GlobalDeviceManager::RemoveCameraListener ( CameraListener *  cameraListener)
pure virtual

◆ RemoveMicrophoneListener()

virtual void tee3::avd::GlobalDeviceManager::RemoveMicrophoneListener ( MicrophoneListener *  microphoneListener)
pure virtual

◆ RemoveSpeakerListener()

virtual void tee3::avd::GlobalDeviceManager::RemoveSpeakerListener ( SpeakerListener *  speakerListener)
pure virtual

◆ SetAudioInterface()

static bool tee3::avd::GlobalDeviceManager::SetAudioInterface ( AudioInInterface *  in,
AudioOutInterface *  out 
)
static

设置音频导入导出接口。

参数
[in]in音频导入接口。
[in]out音频导出接口。
返回
(true/false)成功该接口有效,目前只有特定模式(嵌入式平台)下改接口有效,。

◆ SetPlayoutSpeaker()

static bool tee3::avd::GlobalDeviceManager::SetPlayoutSpeaker ( const tee3::avd::Speaker &  speaker)
static

◆ SetPlayoutVolume()

static bool tee3::avd::GlobalDeviceManager::SetPlayoutVolume ( uint32  volume)
static

◆ SetRecordingMicrophone()

static bool tee3::avd::GlobalDeviceManager::SetRecordingMicrophone ( const tee3::avd::Microphone &  micphone)
static

◆ SetRecordingVolume()

static bool tee3::avd::GlobalDeviceManager::SetRecordingVolume ( uint32  volume)
static

◆ StopVoice()

virtual bool tee3::avd::GlobalDeviceManager::StopVoice ( )
pure virtual

该类的文档由以下文件生成: