Changeset 60621 in vbox for trunk/src/VBox/Devices/Audio/DevIchHdaCodec.cpp
- Timestamp:
- Apr 21, 2016 12:35:56 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/Audio/DevIchHdaCodec.cpp
r60353 r60621 223 223 #define CODEC_F00_0C_CAP_OUTPUT RT_BIT(4) 224 224 #define CODEC_F00_0C_CAP_HEADPHONE_AMP RT_BIT(3) 225 #define CODEC_F00_0C_CAP_PRESEN SE_DETECT RT_BIT(2)225 #define CODEC_F00_0C_CAP_PRESENCE_DETECT RT_BIT(2) 226 226 #define CODEC_F00_0C_CAP_TRIGGER_REQUIRED RT_BIT(1) 227 227 #define CODEC_F00_0C_CAP_IMPENDANCE_SENSE RT_BIT(0) … … 235 235 #define CODEC_F00_0C_IS_CAP_OUTPUT(f00_0c) ((f00_0c) & RT_BIT(4)) 236 236 #define CODEC_F00_0C_IS_CAP_HP(f00_0c) ((f00_0c) & RT_BIT(3)) 237 #define CODEC_F00_0C_IS_CAP_PRESEN SE_DETECT(f00_0c) ((f00_0c) & RT_BIT(2))237 #define CODEC_F00_0C_IS_CAP_PRESENCE_DETECT(f00_0c) ((f00_0c) & RT_BIT(2)) 238 238 #define CODEC_F00_0C_IS_CAP_TRIGGER_REQUIRED(f00_0c) ((f00_0c) & RT_BIT(1)) 239 239 #define CODEC_F00_0C_IS_CAP_IMPENDANCE_SENSE(f00_0c) ((f00_0c) & RT_BIT(0)) … … 915 915 | CODEC_F00_0C_CAP_INPUT 916 916 | CODEC_F00_0C_CAP_OUTPUT 917 | CODEC_F00_0C_CAP_PRESEN SE_DETECT917 | CODEC_F00_0C_CAP_PRESENCE_DETECT 918 918 | CODEC_F00_0C_CAP_TRIGGER_REQUIRED 919 919 | CODEC_F00_0C_CAP_IMPENDANCE_SENSE; … … 1059 1059 | CODEC_F00_0C_CAP_OUTPUT 1060 1060 | CODEC_F00_0C_CAP_HEADPHONE_AMP 1061 | CODEC_F00_0C_CAP_PRESEN SE_DETECT1061 | CODEC_F00_0C_CAP_PRESENCE_DETECT 1062 1062 | CODEC_F00_0C_CAP_TRIGGER_REQUIRED; 1063 1063 … … 1081 1081 | CODEC_F00_0C_CAP_INPUT 1082 1082 | CODEC_F00_0C_CAP_OUTPUT 1083 | CODEC_F00_0C_CAP_PRESEN SE_DETECT1083 | CODEC_F00_0C_CAP_PRESENCE_DETECT 1084 1084 | CODEC_F00_0C_CAP_TRIGGER_REQUIRED; 1085 1085 … … 1105 1105 | CODEC_F00_0C_CAP_INPUT 1106 1106 | CODEC_F00_0C_CAP_OUTPUT 1107 | CODEC_F00_0C_CAP_PRESEN SE_DETECT1107 | CODEC_F00_0C_CAP_PRESENCE_DETECT 1108 1108 | CODEC_F00_0C_CAP_TRIGGER_REQUIRED; 1109 1109 … … 1130 1130 | CODEC_F00_0C_CAP_OUTPUT 1131 1131 | CODEC_F00_0C_CAP_HEADPHONE_AMP 1132 | CODEC_F00_0C_CAP_PRESEN SE_DETECT1132 | CODEC_F00_0C_CAP_PRESENCE_DETECT 1133 1133 | CODEC_F00_0C_CAP_TRIGGER_REQUIRED; 1134 1134 … … 1171 1171 | CODEC_F00_09_CAP_STEREO; 1172 1172 pNode->port.node.au32F00_param[0xC] = CODEC_F00_0C_CAP_INPUT 1173 | CODEC_F00_0C_CAP_PRESEN SE_DETECT;1173 | CODEC_F00_0C_CAP_PRESENCE_DETECT; 1174 1174 1175 1175 if (!pThis->fInReset) … … 1223 1223 | CODEC_F00_09_CAP_STEREO; 1224 1224 pNode->digout.node.au32F00_param[0xC] = CODEC_F00_0C_CAP_OUTPUT 1225 | CODEC_F00_0C_CAP_PRESEN SE_DETECT;1225 | CODEC_F00_0C_CAP_PRESENCE_DETECT; 1226 1226 1227 1227 /* Connection list entries. */ … … 1256 1256 pNode->digin.node.au32F00_param[0xC] = CODEC_F00_0C_CAP_EAPD 1257 1257 | CODEC_F00_0C_CAP_INPUT 1258 | CODEC_F00_0C_CAP_PRESEN SE_DETECT;1258 | CODEC_F00_0C_CAP_PRESENCE_DETECT; 1259 1259 if (!pThis->fInReset) 1260 1260 pNode->digin.u32F1c_param = CODEC_MAKE_F1C(CODEC_F1C_PORT_COMPLEX,
Note:
See TracChangeset
for help on using the changeset viewer.