15 #ifndef _MpAudioResource_h_ 16 #define _MpAudioResource_h_ 123 #endif // _MpAudioResource_h_
int minInputs() const
Returns the minimum number of inputs required by this resource.
Definition: MpResource.cpp:363
virtual ~MpAudioResource()
Destructor.
Definition: MpAudioResource.cpp:51
MpAudioResource(const UtlString &rName, int minInputs, int maxInputs, int minOutputs, int maxOutputs)
Constructor.
Definition: MpAudioResource.cpp:43
int minOutputs() const
Returns the minimum number of outputs required by this resource.
Definition: MpResource.cpp:369
Abstract base class for all audio processing objects.
Definition: MpAudioResource.h:38
MpAudioResource & operator=(const MpAudioResource &rhs)
Assignment operator (not implemented for this class)
virtual UtlBoolean processFrame(void)
Wrapper around doProcessFrame().
Definition: MpAudioResource.cpp:63
Smart pointer to MpBuf.
Definition: MpBuf.h:160
int maxOutputs() const
Returns the maximum number of outputs supported by this resource.
Definition: MpResource.cpp:357
int maxInputs() const
Returns the maximum number of inputs supported by this resource.
Definition: MpResource.cpp:351
Abstract base class for all media processing objects.
Definition: MpResource.h:56
UtlBoolean isEnabled() const
Returns TRUE is this resource is currently enabled, FALSE otherwise.
Definition: MpResource.cpp:440
virtual UtlBoolean doProcessFrame(MpBufPtr inBufs[], MpBufPtr outBufs[], int inBufsSize, int outBufsSize, UtlBoolean isEnabled, int samplesPerFrame, int samplesPerSecond)=0
This method does the real work for the media processing resource and must be defined in each class de...