13 #ifndef _MprDelayConstructor_h_ 14 #define _MprDelayConstructor_h_ 55 int maxResourcesToCreate,
56 int& numResourcesCreated,
62 assert(maxResourcesToCreate >= 1);
63 numResourcesCreated = 1;
64 resourceArray[0] = pVadResource;
65 resourceArray[0]->
enable();
90 #endif // _MprDelayConstructor_h_ MprDelayConstructor & operator=(const MprDelayConstructor &rhs)
Disabled assignment operator.
MprDelayConstructor()
Constructor.
Definition: MprDelayConstructor.h:41
Delay Resource.
Definition: MprDelay.h:163
virtual UtlBoolean enable()
Enable this resource.
Definition: MpResource.cpp:145
virtual OsStatus newResource(const UtlString &resourceName, int maxResourcesToCreate, int &numResourcesCreated, MpResource *resourceArray[])
Create a new resource.
Definition: MprDelayConstructor.h:54
MprDelayConstructor is used to construct VAD resource.
Definition: MprDelayConstructor.h:33
virtual ~MprDelayConstructor()
Destructor.
Definition: MprDelayConstructor.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
#define DEFAULT_DELAY_RESOURCE_TYPE
Definition: MpResourceFactory.h:39