13 #ifndef _MprNullAecConstructor_h_ 14 #define _MprNullAecConstructor_h_ 59 int maxResourcesToCreate,
60 int& numResourcesCreated,
63 assert(maxResourcesToCreate >= 2);
64 numResourcesCreated = 2;
66 UtlString bufferResourceName(resourceName);
71 resourceArray[1] = outBufferResource;
72 resourceArray[1]->
enable();
74 resourceArray[0] =
new MprNullAec(resourceName, *outBufferResource);
103 #endif // _MprNullAecConstructor_h_ virtual OsStatus newResource(const UtlString &resourceName, int maxResourcesToCreate, int &numResourcesCreated, MpResource *resourceArray[])
Create a new resource.
Definition: MprNullAecConstructor.h:58
MprNullAecConstructor & operator=(const MprNullAecConstructor &rhs)
#define AEC_OUTPUT_BUFFER_RESOURCE_NAME_SUFFIX
Definition: MpResourceTopology.h:48
virtual ~MprNullAecConstructor()
Definition: MprNullAecConstructor.h:53
virtual UtlBoolean disable()
Disable this resource.
Definition: MpResource.cpp:121
virtual UtlBoolean enable()
Enable this resource.
Definition: MpResource.cpp:145
#define DEFAULT_NULL_AEC_RESOURCE_TYPE
Definition: MpResourceFactory.h:36
MprNullAecConstructor()
Definition: MprNullAecConstructor.h:44
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
MprNullAecConstructor is used to construct a Null AEC resource.
Definition: MprNullAecConstructor.h:35
The MprAudioFrameBuffer resource buffers frames of audio that pass through to be retrieved later...
Definition: MprAudioFrameBuffer.h:39
The MprNullAec resource a no-op AEC implementation intended to be a base calls for real AEC implement...
Definition: MprNullAec.h:50