13 #ifndef _MprVoiceActivityNotifierConstructor_h_ 14 #define _MprVoiceActivityNotifierConstructor_h_ 55 int maxResourcesToCreate,
56 int& numResourcesCreated,
62 assert(maxResourcesToCreate >= 1);
63 numResourcesCreated = 1;
64 resourceArray[0] = pDecode;
65 resourceArray[0]->
enable();
90 #endif // _MprVoiceActivityNotifierConstructor_h_ virtual ~MprVoiceActivityNotifierConstructor()
Destructor.
Definition: MprVoiceActivityNotifierConstructor.h:49
MprVoiceActivityNotifierConstructor()
Constructor.
Definition: MprVoiceActivityNotifierConstructor.h:41
Voice Activity notifier resource.
Definition: MprVoiceActivityNotifier.h:35
virtual OsStatus newResource(const UtlString &resourceName, int maxResourcesToCreate, int &numResourcesCreated, MpResource *resourceArray[])
Create a new resource.
Definition: MprVoiceActivityNotifierConstructor.h:54
MprVoiceActivityNotifierConstructor is used to construct a Decode resource.
Definition: MprVoiceActivityNotifierConstructor.h:33
virtual UtlBoolean enable()
Enable this resource.
Definition: MpResource.cpp:145
#define DEFAULT_VOICE_ACTIVITY_NOTIFIER_RESOURCE_TYPE
Definition: MpResourceFactory.h:38
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
MprVoiceActivityNotifierConstructor & operator=(const MprVoiceActivityNotifierConstructor &rhs)
Disabled assignment operator.