| 12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152 |
- /*************************************************************************
- 【文件名】 DevDsp.h
- 【功能模块和目的】 DSP资源管理类头文件
- 【开发者及日期】 郑石诺 2015/03/09
- 【版本】 V1.0.0
- 【版权信息】 Copyright (C)2015 河南华谊网络科技有限公司
- 【更改记录】
- *************************************************************************/
- #pragma once
- #include "DevResource.h"
- #include "MeetingPool.h"
- class CDspChannel;
- class CPrdVirtualDevice;
- /*************************************************************************
- 【类名】 CDevDsp
- 【功能】
- 【接口说明】 DSP资源管理类
- 【开发者及日期】 郑石诺 2015/03/09
- 【版本】 V1.0.0
- 【版权信息】 Copyright (C)2015 河南华谊网络科技有限公司
- 【更改记录】
- *************************************************************************/
- class CDevDsp : public CDevResource
- {
- public:
- CDevDsp(DEV_RES_NO_TYPE NodeNo, DEV_RES_NO_TYPE BoardNo);
- ~CDevDsp(void);
- int channelCount(void) const { return m_DspChList.GetCount(); }
- // 操作接口
- bool open(void);
- void close(void);
- bool isOk(void) const;
- CDspChannel* getFreeDspCh(void);
- CDspChannel* findChan(int ResId);
- bool createMeeting(MeetingInfo& MeetInfo);
- void deleteMeeting(MeetingInfo& MeetInfo);
- bool meetingAccept(int MeetingId, COneLeg* pAttendee, bool IsOneWay);
- bool meetingRemove(int MeetingId, COneLeg* pAttendee);
- bool meetingRecord(int MeetingId, COneLeg* pAttendee, RecordContent* pContent, bool IsStop);
- bool meetingMute(int MeetingId, COneLeg* pAttendee, bool IsOff);
- private:
- CArray<CDspChannel*, CDspChannel*> m_DspChList;
- int m_CurPos;
- CMeetingPool m_MeetingPool;
- };
|