7 #ifndef _MpALSADeviceWrapperContainer_h_ 8 #define _MpALSADeviceWrapperContainer_h_ 13 #include "utl/UtlString.h" 14 #include "utl/UtlHashMap.h" 15 #include "os/OsMutex.h" 87 #endif // _MpALSADeviceWrapperContainer_h_ void excludeFromContainer(MpAlsa *pDev)
Excluding wrapper from container.
Definition: MpAlsaContainer.cpp:67
Wrapper for ALSA device that use file descriptor to communicate.
Definition: MpAlsa.h:32
static void releaseContainer(MpAlsaContainer *pCont)
Releasing wrapper if it no longer needed (no references).
Definition: MpAlsaContainer.cpp:149
MpAlsa * getALSADeviceWrapper(const UtlString &ossdev)
Create new wrapper for name haven't founded in container.
Definition: MpAlsaContainer.cpp:100
static int refCount
Number of all MpALSADeviceWrapperContainer members.
Definition: MpAlsaContainer.h:78
OsMutex mMutex
Internal synchronization mutex.
Definition: MpAlsaContainer.h:82
static MpAlsaContainer * mpCont
Pointer to allocated class.
Definition: MpAlsaContainer.h:77
~MpAlsaContainer()
Definition: MpAlsaContainer.cpp:41
MpAlsaContainer()
Definition: MpAlsaContainer.cpp:35
Definition: MpAlsaContainer.h:27
static UtlBoolean excludeWrapperFromContainer(MpAlsa *pDev)
Excluding wrapper from container (static version).
Definition: MpAlsaContainer.cpp:119
static MpAlsaContainer * getContainer()
Creating wrapper and return if it wasn't create yet.
Definition: MpAlsaContainer.cpp:137