84 #ifndef DEVSET_COMP_AUDIOOUTPUT_HPP__
85 #define DEVSET_COMP_AUDIOOUTPUT_HPP__
98 #include "hostIf_utils.h"
99 #include "hostIf_tr69ReqHandler.h"
100 #include "hostIf_updateHandler.h"
105 #define PARAM_LEN TR69HOSTIFMGR_MAX_PARAM_LEN
114 static GHashTable *ifHash;
117 static GMutex *m_mutex;
121 char backupStatus[_BUF_LEN_16];
122 bool backupCancelMute;
123 char backupAudioStereoMode[_BUF_LEN_16];
124 unsigned int backupAudioLevel;
125 char backupAudioDB[_BUF_LEN_16];
126 char backupAudioLoopThru[_BUF_LEN_16];
127 unsigned int backupAudioCompression;
128 char backupAudioEncoding[_BUF_LEN_16];
129 char backupAudioGain[_BUF_LEN_16];
130 char backupMinAudioDB[_BUF_LEN_16];
131 char backupMaxAudioDB[_BUF_LEN_16];
132 char backupAudioOptimalLevel[_BUF_LEN_16];
133 unsigned int backupDialogEnhancement;
136 bool bCalledCancelMute;
137 bool bCalledAudioStereoMode;
138 bool bCalledAudioLevel;
140 bool bCalledAudioLoopThru;
141 bool bCalledAudioCompression;
142 bool bCalledAudioEncoding;
143 bool bCalledAudioGain;
144 bool bCalledMinAudioDB;
145 bool bCalledMaxAudioDB;
146 bool bCalledAudioOptimalLevel;
147 bool bCalledDialogEnhancement;
159 int getX_COMCAST_COM_AudioStereoMode(
HOSTIF_MsgData_t *,
bool *pChanged = NULL);
168 int getX_COMCAST_COM_AudioLoopThru(
HOSTIF_MsgData_t *,
bool *pChanged = NULL);
172 int getX_COMCAST_COM_AudioCompression(
HOSTIF_MsgData_t *,
bool *pChanged = NULL);
179 int getX_COMCAST_COM_AudioEncoding(
HOSTIF_MsgData_t *,
bool *pChanged = NULL);
185 int getX_COMCAST_COM_MinAudioDB(
HOSTIF_MsgData_t *stMsgData,
bool *pChanged = NULL);
186 int getX_COMCAST_COM_MaxAudioDB(
HOSTIF_MsgData_t *stMsgData,
bool *pChanged = NULL);
187 int getX_COMCAST_COM_AudioOptimalLevel(
HOSTIF_MsgData_t *stMsgData,
bool *pChanged = NULL);
191 int getX_COMCAST_COM_DialogEnhancement(
HOSTIF_MsgData_t *stMsgData,
bool *pChanged = NULL);
197 static GList* getAllInstances();
198 static void closeAllInstances();
199 static void getLock();
200 static void releaseLock();
202 void doUpdates(updateCallback mUpdateCallback);