13 #ifndef _MprDecodeConstructor_h_ 14 #define _MprDecodeConstructor_h_ 56 int maxResourcesToCreate,
57 int& numResourcesCreated,
67 assert(maxResourcesToCreate >= 1);
68 numResourcesCreated = 1;
69 resourceArray[0] = pDecode;
95 #endif // _MprDecodeConstructor_h_ MprDecodeConstructor is used to construct a Decode resource.
Definition: MprDecodeConstructor.h:34
#define DEFAULT_DECODE_RESOURCE_TYPE
Definition: MpResourceFactory.h:31
MprDecodeConstructor & operator=(const MprDecodeConstructor &rhs)
Disabled assignment operator.
virtual UtlBoolean disable()
Disable this resource.
Definition: MpResource.cpp:121
void setMyDejitter(MprDejitter *newDJ, UtlBoolean ownDj)
Pair this decode resource with the dejitter resource.
Definition: MprDecode.cpp:221
The "Decode" media processing resource.
Definition: MprDecode.h:45
MprDecodeConstructor()
Constructor.
Definition: MprDecodeConstructor.h:42
virtual OsStatus newResource(const UtlString &resourceName, int maxResourcesToCreate, int &numResourcesCreated, MpResource *resourceArray[])
Create a new resource.
Definition: MprDecodeConstructor.h:55
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
The "Dejitter" utility class.
Definition: MprDejitter.h:39
#define TRUE
Definition: PlgDefsV1.h:41
virtual ~MprDecodeConstructor()
Destructor.
Definition: MprDecodeConstructor.h:50