13 #ifndef _MprToneGenConstructor_h_ 14 #define _MprToneGenConstructor_h_ 59 int maxResourcesToCreate,
60 int& numResourcesCreated,
63 assert(maxResourcesToCreate >= 1);
64 numResourcesCreated = 1;
65 resourceArray[0] =
new MprToneGen(resourceName,
95 #endif // _MprToneGenConstructor_h_ The "Tone Generator" media processing resource.
Definition: MprToneGen.h:37
MprToneGenConstructor(const UtlString &locale="")
Definition: MprToneGenConstructor.h:43
MprToneGenConstructor & operator=(const MprToneGenConstructor &rhs)
UtlString mLocale
Definition: MprToneGenConstructor.h:80
MprToneGenConstructor is used to construct a ToneGen resource.
Definition: MprToneGenConstructor.h:34
virtual UtlBoolean disable()
Disable this resource.
Definition: MpResource.cpp:121
virtual OsStatus newResource(const UtlString &resourceName, int maxResourcesToCreate, int &numResourcesCreated, MpResource *resourceArray[])
Create a new resource.
Definition: MprToneGenConstructor.h:58
virtual ~MprToneGenConstructor()
Definition: MprToneGenConstructor.h:53
#define DEFAULT_TONE_GEN_RESOURCE_TYPE
Definition: MpResourceFactory.h:23
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