RDK Documentation (Open Sourced RDK Components)

Description

Describe the details about classes used in TR-069 components SPDIF.

Data Structures

class  hostIf_STBServiceSPDIF
 This class provides the TR-069 components SPDIF information. More...
 

Data Structure Documentation

◆ hostIf_STBServiceSPDIF

class hostIf_STBServiceSPDIF

This class provides the TR-069 components SPDIF information.

Definition at line 79 of file Components_SPDIF.h.

Collaboration diagram for hostIf_STBServiceSPDIF:
Collaboration graph

Public Member Functions

void doUpdates (updateCallback mUpdateCallback)
 This function updates the SPDIF interface updates such as Enable, Status, Alias, Name, ForcePCM, Pass through, AudioDelay in a connected SPDIF port. More...
 
int handleSetMsg (const char *paramName, HOSTIF_MsgData_t *stMsgData)
 This function set the SPDIF interface updates such as Enable, Status, Alias, Name, ForcePCM, Pass through, AudioDelay in a connected SPDIF port. Currently ForcePCM is handled. More...
 
int handleGetMsg (const char *paramName, HOSTIF_MsgData_t *stMsgData)
 This function get the SPDIF interface updates such as Enable, Status, Alias, Name, ForcePCM, Pass through, AudioDelay in a connected SPDIF port. More...
 

Static Public Member Functions

static hostIf_STBServiceSPDIFgetInstance (int devid)
 
static void closeInstance (hostIf_STBServiceSPDIF *)
 
static GList * getAllInstances ()
 
static void closeAllInstances ()
 
static void getLock ()
 
static void releaseLock ()
 
static int getNumberOfInstances (HOSTIF_MsgData_t *stMsgData)
 

Private Member Functions

 hostIf_STBServiceSPDIF (int dev_id, device::AudioOutputPort &port)
 Class Constructor of the class hostIf_STBServiceSPDIF. More...
 
int setEnable (HOSTIF_MsgData_t *stMsgData)
 
int setAlias (HOSTIF_MsgData_t *stMsgData)
 
int setForcePCM (HOSTIF_MsgData_t *stMsgData)
 
int getEnable (HOSTIF_MsgData_t *stMsgData, bool *pChanged=NULL)
 
int getStatus (HOSTIF_MsgData_t *stMsgData, bool *pChanged=NULL)
 
int getAlias (HOSTIF_MsgData_t *stMsgData, bool *pChanged=NULL)
 
int getName (HOSTIF_MsgData_t *stMsgData, bool *pChanged=NULL)
 
int getForcePCM (HOSTIF_MsgData_t *stMsgData, bool *pChanged=NULL)
 
int getPassthrough (HOSTIF_MsgData_t *stMsgData, bool *pChanged=NULL)
 
int getAudioDelay (HOSTIF_MsgData_t *stMsgData, bool *pChanged=NULL)
 

Private Attributes

int dev_id
 
device::AudioOutputPortaPort
 
bool backupEnable
 
char backupStatus [_BUF_LEN_16]
 
bool backupForcePCM
 
bool backupPassthrough
 
unsigned backupAudioDelay
 
bool bCalledEnable
 
bool bCalledStatus
 
bool bCalledAlias
 
bool bCalledName
 
bool bCalledForcePCM
 
bool bCalledPassthrough
 
bool bCalledAudioDelay
 

Static Private Attributes

static GHashTable * ifHash = NULL
 
static GMutex * m_mutex = NULL