sipxmedialib  Version 3.3
List of all members
DmaTask Class Reference

#include <dmaTask.h>

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

Creators

static DmaTaskgetDmaTask (int samplesPerFrame=80)
 
virtual ~DmaTask ()
 
virtual int run (void *pArg)
 

Accessors

static bool smIsRingerEnabled = false
 
static bool smIsMuted = false
 
static MuteListenerFuncPtr smpMuteListener = NULL
 
static const int DEF_DMA_TASK_PRIORITY
 
static const int DEF_DMA_TASK_OPTIONS
 
static const int DEF_DMA_TASK_STACKSIZE
 
static UtlString mRingDeviceName = ""
 
static UtlString mCallDeviceName = ""
 
static UtlString mMicDeviceName = ""
 
static bool mbOutputDevicesChanged = false
 
static bool mbInputDeviceChanged = false
 
static DmaTaskspInstance
 
static OsBSem sLock
 
int mFrameSamples
 
MSG_Q_ID mDoneQ
 
static bool setRingerEnabled (bool enabled)
 
static bool isRingerEnabled (void)
 
static void setMuteListener (MuteListenerFuncPtr pFunc)
 
static bool setMuteEnabled (bool enabled)
 
static bool isMuteEnabled (void)
 
static void setRingDevice (const char *szDevice)
 
static void setCallDevice (const char *szDevice)
 
static void setInputDevice (const char *szDevice)
 
static UtlString & getRingDevice ()
 
static UtlString & getCallDevice ()
 
static UtlString & getMicDevice ()
 
static bool isOutputDeviceChanged ()
 
static void clearOutputDeviceChanged ()
 
static bool isInputDeviceChanged ()
 
static void clearInputDeviceChanged ()
 
 DmaTask (MSG_Q_ID doneQ=NULL, int samplesPerFrame=0, int prio=DEF_DMA_TASK_PRIORITY, int options=DEF_DMA_TASK_OPTIONS, int stack=DEF_DMA_TASK_STACKSIZE)
 
 DmaTask (const DmaTask &rDmaTask)
 
DmaTaskoperator= (const DmaTask &rhs)
 

Constructor & Destructor Documentation

virtual ~DmaTask ( )
virtual
DmaTask ( MSG_Q_ID  doneQ = NULL,
int  samplesPerFrame = 0,
int  prio = DEF_DMA_TASK_PRIORITY,
int  options = DEF_DMA_TASK_OPTIONS,
int  stack = DEF_DMA_TASK_STACKSIZE 
)
protected
DmaTask ( const DmaTask rDmaTask)
private

Member Function Documentation

static DmaTask* getDmaTask ( int  samplesPerFrame = 80)
static
virtual int run ( void *  pArg)
virtual
static bool setRingerEnabled ( bool  enabled)
inlinestatic
static bool isRingerEnabled ( void  )
inlinestatic
static void setMuteListener ( MuteListenerFuncPtr  pFunc)
inlinestatic
static bool setMuteEnabled ( bool  enabled)
inlinestatic
static bool isMuteEnabled ( void  )
inlinestatic
static void setRingDevice ( const char *  szDevice)
inlinestatic
static void setCallDevice ( const char *  szDevice)
inlinestatic
static void setInputDevice ( const char *  szDevice)
inlinestatic
static UtlString& getRingDevice ( )
inlinestatic
static UtlString& getCallDevice ( )
inlinestatic
static UtlString& getMicDevice ( )
inlinestatic
static bool isOutputDeviceChanged ( )
inlinestatic
static void clearOutputDeviceChanged ( )
inlinestatic
static bool isInputDeviceChanged ( )
inlinestatic
static void clearInputDeviceChanged ( )
inlinestatic
DmaTask& operator= ( const DmaTask rhs)
private

Member Data Documentation

bool smIsRingerEnabled = false
staticprotected
bool smIsMuted = false
staticprotected
MuteListenerFuncPtr smpMuteListener = NULL
staticprotected
const int DEF_DMA_TASK_PRIORITY
staticprivate
const int DEF_DMA_TASK_OPTIONS
staticprivate
const int DEF_DMA_TASK_STACKSIZE
staticprivate
int mFrameSamples
private
MSG_Q_ID mDoneQ
private
UtlString mRingDeviceName = ""
staticprivate
UtlString mCallDeviceName = ""
staticprivate
UtlString mMicDeviceName = ""
staticprivate
bool mbOutputDevicesChanged = false
staticprivate
bool mbInputDeviceChanged = false
staticprivate
DmaTask* spInstance
staticprivate
OsBSem sLock
staticprivate