RDK Documentation (Open Sourced RDK Components)

Description

Describe the details about classes used in TR069 capabilities audio output.

Data Structures

class  hostIf_STBServiceAudioInterface
 This class provides the TR069 components audio output information. More...
 

Data Structure Documentation

◆ hostIf_STBServiceAudioInterface

class hostIf_STBServiceAudioInterface

This class provides the TR069 components audio output information.

Definition at line 112 of file Components_AudioOutput.h.

Collaboration diagram for hostIf_STBServiceAudioInterface:
Collaboration graph

Public Member Functions

void doUpdates (updateCallback mUpdateCallback)
 This function updates the audio interface such as mute status, audio encoding, audio level, Minimum dB(decibel) and Maximum dB(decibel) that can be supported on audio port, Stereo mode used in a given audio port etc.. using callback mechanism. More...
 
int handleSetMsg (const char *paramName, HOSTIF_MsgData_t *stMsgData)
 This function set the audio interface such as mute status, audio encoding, audio level, Minimum dB(decibel) and Maximum dB(decibel) that can be supported on audio port, Stereo mode used in a given audio port etc.. More...
 
int handleGetMsg (const char *paramName, HOSTIF_MsgData_t *stMsgData)
 This function get the audio interface attribute values such as mute status, audio encoding, audio level, Minimum dB(decibel) and Maximum dB(decibel) that can be supported on audio port, Stereo mode used in a given audio port etc.. More...
 

Static Public Member Functions

static hostIf_STBServiceAudioInterfacegetInstance (int dev_id)
 
static void closeInstance (hostIf_STBServiceAudioInterface *)
 
static GList * getAllInstances ()
 
static void closeAllInstances ()
 
static void getLock ()
 
static void releaseLock ()
 
static int getNumberOfInstances (HOSTIF_MsgData_t *stMsgData)
 

Private Member Functions

 hostIf_STBServiceAudioInterface (int dev_id, device::AudioOutputPort &port)
 Class Constructor of the class hostIf_STBServiceAudioInterface. More...
 
int getStatus (HOSTIF_MsgData_t *, bool *pChanged=NULL)
 
int setCancelMute (const HOSTIF_MsgData_t *)
 
int getCancelMute (HOSTIF_MsgData_t *, bool *pChanged=NULL)
 
int getEnable (HOSTIF_MsgData_t *)
 
int getName (HOSTIF_MsgData_t *)
 
int setX_COMCAST_COM_AudioStereoMode (const HOSTIF_MsgData_t *)
 
int getX_COMCAST_COM_AudioStereoMode (HOSTIF_MsgData_t *, bool *pChanged=NULL)
 
int setAudioLevel (const HOSTIF_MsgData_t *)
 
int getAudioLevel (HOSTIF_MsgData_t *, bool *pChanged=NULL)
 
int setX_COMCAST_COM_AudioDB (const HOSTIF_MsgData_t *)
 
int getX_COMCAST_COM_AudioDB (HOSTIF_MsgData_t *, bool *pChanged=NULL)
 
int setX_COMCAST_COM_AudioLoopThru (const HOSTIF_MsgData_t *)
 
int getX_COMCAST_COM_AudioLoopThru (HOSTIF_MsgData_t *, bool *pChanged=NULL)
 
int setX_COMCAST_COM_AudioCompression (const HOSTIF_MsgData_t *)
 
int getX_COMCAST_COM_AudioCompression (HOSTIF_MsgData_t *, bool *pChanged=NULL)
 
int getX_COMCAST_COM_AudioFormat (HOSTIF_MsgData_t *)
 
int setAudioEncoding (const HOSTIF_MsgData_t *)
 
int getX_COMCAST_COM_AudioEncoding (HOSTIF_MsgData_t *, bool *pChanged=NULL)
 
int getX_COMCAST_COM_AudioGain (HOSTIF_MsgData_t *, bool *pChanged=NULL)
 
int getX_COMCAST_COM_MinAudioDB (HOSTIF_MsgData_t *stMsgData, bool *pChanged=NULL)
 
int getX_COMCAST_COM_MaxAudioDB (HOSTIF_MsgData_t *stMsgData, bool *pChanged=NULL)
 
int getX_COMCAST_COM_AudioOptimalLevel (HOSTIF_MsgData_t *stMsgData, bool *pChanged=NULL)
 
int setX_COMCAST_COM_DialogEnhancement (const HOSTIF_MsgData_t *)
 
int getX_COMCAST_COM_DialogEnhancement (HOSTIF_MsgData_t *stMsgData, bool *pChanged=NULL)
 

Private Attributes

int dev_id
 
device::AudioOutputPortaPort
 
char backupStatus [_BUF_LEN_16]
 
bool backupCancelMute
 
char backupAudioStereoMode [_BUF_LEN_16]
 
unsigned int backupAudioLevel
 
char backupAudioDB [_BUF_LEN_16]
 
char backupAudioLoopThru [_BUF_LEN_16]
 
unsigned int backupAudioCompression
 
char backupAudioEncoding [_BUF_LEN_16]
 
char backupAudioGain [_BUF_LEN_16]
 
char backupMinAudioDB [_BUF_LEN_16]
 
char backupMaxAudioDB [_BUF_LEN_16]
 
char backupAudioOptimalLevel [_BUF_LEN_16]
 
unsigned int backupDialogEnhancement
 
bool bCalledStatus
 
bool bCalledCancelMute
 
bool bCalledAudioStereoMode
 
bool bCalledAudioLevel
 
bool bCalledAudioDB
 
bool bCalledAudioLoopThru
 
bool bCalledAudioCompression
 
bool bCalledAudioEncoding
 
bool bCalledAudioGain
 
bool bCalledMinAudioDB
 
bool bCalledMaxAudioDB
 
bool bCalledAudioOptimalLevel
 
bool bCalledDialogEnhancement
 

Static Private Attributes

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