sipxmedialib  Version 3.3
Public Member Functions | Protected Attributes | Private Member Functions | List of all members
MprToOutputDeviceWithAecConstructor Class Reference

MprToOutputDeviceWithAecConstructor is used to construct a ToOutputDevice resource with AEC attached to it. More...

#include <MprToOutputDeviceWithAecConstructor.h>

Inheritance diagram for MprToOutputDeviceWithAecConstructor:
Inheritance graph
[legend]
Collaboration diagram for MprToOutputDeviceWithAecConstructor:
Collaboration graph
[legend]

Public Member Functions

 MprToOutputDeviceWithAecConstructor (MpOutputDeviceManager *defaultManager, MpOutputDeviceHandle defaultDriver=1)
 Constructor. More...
 
virtual ~MprToOutputDeviceWithAecConstructor ()
 Destructor. More...
 
virtual OsStatus newResource (const UtlString &resourceName, int maxResourcesToCreate, int &numResourcesCreated, MpResource *resourceArray[])
 Create a new resource. More...
 
- Public Member Functions inherited from MpAudioResourceConstructor
 MpAudioResourceConstructor (const UtlString &resourceType, int minInputs=1, int maxInputs=1, int minOutputs=1, int maxOutputs=1)
 
virtual ~MpAudioResourceConstructor ()
 
- Public Member Functions inherited from MpResourceConstructor
 MpResourceConstructor (const UtlString &resourceType, int minInputs=1, int maxInputs=1, int minOutputs=1, int maxOutputs=1)
 
virtual ~MpResourceConstructor ()
 

Protected Attributes

MpOutputDeviceManagermpDefaultManager
 
MpOutputDeviceHandle mDefaultDriver
 
- Protected Attributes inherited from MpResourceConstructor
int mMinInputs
 
int mMaxInputs
 
int mMinOutputs
 
int mMaxOutputs
 

Private Member Functions

 MprToOutputDeviceWithAecConstructor (const MprToOutputDeviceWithAecConstructor &rMprToOutputDeviceWithAecConstructor)
 Disable copy constructor. More...
 
MprToOutputDeviceWithAecConstructoroperator= (const MprToOutputDeviceWithAecConstructor &rhs)
 Disable assignment operator. More...
 

Detailed Description

MprToOutputDeviceWithAecConstructor is used to construct a ToOutputDevice resource with AEC attached to it.

Currently only Speex AEC is supported here.

Constructor & Destructor Documentation

MprToOutputDeviceWithAecConstructor ( MpOutputDeviceManager defaultManager,
MpOutputDeviceHandle  defaultDriver = 1 
)
inline

Constructor.

virtual ~MprToOutputDeviceWithAecConstructor ( )
inlinevirtual

Destructor.

MprToOutputDeviceWithAecConstructor ( const MprToOutputDeviceWithAecConstructor rMprToOutputDeviceWithAecConstructor)
private

Disable copy constructor.

Member Function Documentation

virtual OsStatus newResource ( const UtlString &  resourceName,
int  maxResourcesToCreate,
int &  numResourcesCreated,
MpResource resourceArray[] 
)
inlinevirtual

Create a new resource.

Implements MpAudioResourceConstructor.

Disable assignment operator.

Member Data Documentation

MpOutputDeviceManager* mpDefaultManager
protected

Manager that will be passed to newly created resources.

MpOutputDeviceHandle mDefaultDriver
protected

Device that will be used for newly created resources.