13 #ifndef _MprSplitterConstructor_h_ 14 #define _MprSplitterConstructor_h_ 22 #ifndef DEFAULT_SPLITTER_MAX_OUTPUTS 23 #define DEFAULT_SPLITTER_MAX_OUTPUTS 4 62 int maxResourcesToCreate,
63 int& numResourcesCreated,
66 assert(maxResourcesToCreate >= 1);
67 numResourcesCreated = 1;
70 resourceArray[0]->
enable();
97 #endif // _MprSplitterConstructor_h_ MprSplitterConstructor & operator=(const MprSplitterConstructor &rhs)
MprSplitterConstructor(int minInOutputs=1, int maxOutputs=DEFAULT_SPLITTER_MAX_OUTPUTS)
Definition: MprSplitterConstructor.h:46
The "Splitter" media processing resource.
Definition: MprSplitter.h:41
MprSplitterConstructor is used to construct a bridge mixer resource.
Definition: MprSplitterConstructor.h:37
virtual OsStatus newResource(const UtlString &resourceName, int maxResourcesToCreate, int &numResourcesCreated, MpResource *resourceArray[])
Create a new resource.
Definition: MprSplitterConstructor.h:61
#define DEFAULT_SPLITTER_RESOURCE_TYPE
Definition: MpResourceFactory.h:35
virtual ~MprSplitterConstructor()
Definition: MprSplitterConstructor.h:56
virtual UtlBoolean enable()
Enable this resource.
Definition: MpResource.cpp:145
#define DEFAULT_SPLITTER_MAX_OUTPUTS
Definition: MprSplitterConstructor.h:23
int mMaxOutputs
Definition: MpResourceConstructor.h:94
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