13 #ifndef _MprToOutputDeviceWithAecConstructor_h_ 14 #define _MprToOutputDeviceWithAecConstructor_h_ 54 OsSysLog::add(FAC_MP, PRI_DEBUG,
55 "MprToOutputDeviceWithAecConstructor::MprToOutputDeviceWithAecConstructor");
65 int maxResourcesToCreate,
66 int& numResourcesCreated,
69 OsSysLog::add(FAC_MP, PRI_DEBUG,
70 "MprToOutputDeviceWithAecConstructor::newResource");
72 assert(maxResourcesToCreate >= 2);
73 numResourcesCreated = 2;
78 resourceArray[0] = pToOutput;
83 resourceArray[1]->
enable();
113 #endif // _MprToOutputDeviceWithAecConstructor_h_ OsMsgQ * getCopyQ()
Get pointer to the copy queue.
Definition: MprToOutputDevice.h:173
virtual ~MprToOutputDeviceWithAecConstructor()
Destructor.
Definition: MprToOutputDeviceWithAecConstructor.h:59
#define DEFAULT_TO_OUTPUT_DEVICE_WITH_AEC_RESOURCE_TYPE
Definition: MpResourceFactory.h:25
Resource in which input media from source outside the flowgraph is introduced.
Definition: MprToOutputDevice.h:50
MpOutputDeviceHandle mDefaultDriver
Definition: MprToOutputDeviceWithAecConstructor.h:96
virtual UtlBoolean disable()
Disable this resource.
Definition: MpResource.cpp:121
int MpOutputDeviceHandle
Definition: MpTypes.h:50
#define AEC_NAME_SUFFIX
Definition: MpResourceTopology.h:49
virtual UtlBoolean enable()
Enable this resource.
Definition: MpResource.cpp:145
Container of output devices.
Definition: MpOutputDeviceManager.h:66
static OsStatus enableCopyQ(const UtlString &namedResource, OsMsgQ &fgQ, UtlBoolean enable)
Send message to enable/disable copy queue.
Definition: MprToOutputDevice.cpp:117
MprToOutputDeviceWithAecConstructor(MpOutputDeviceManager *defaultManager, MpOutputDeviceHandle defaultDriver=1)
Constructor.
Definition: MprToOutputDeviceWithAecConstructor.h:46
MpOutputDeviceManager * mpDefaultManager
Definition: MprToOutputDeviceWithAecConstructor.h:94
The "Speex Echo Canceler" media processing resource.
Definition: MprSpeexEchoCancel.h:49
Abstract base class for all media processing objects.
Definition: MpResource.h:56
MpAudioResourceConstructor is used to construct a specific audio resource type.
Definition: MpAudioResourceConstructor.h:36
virtual OsStatus newResource(const UtlString &resourceName, int maxResourcesToCreate, int &numResourcesCreated, MpResource *resourceArray[])
Create a new resource.
Definition: MprToOutputDeviceWithAecConstructor.h:64
MprToOutputDeviceWithAecConstructor is used to construct a ToOutputDevice resource with AEC attached ...
Definition: MprToOutputDeviceWithAecConstructor.h:38
MprToOutputDeviceWithAecConstructor & operator=(const MprToOutputDeviceWithAecConstructor &rhs)
Disable assignment operator.
#define TRUE
Definition: PlgDefsV1.h:41