Changeset 31855 in vbox for trunk/src/VBox/Devices/Audio
- Timestamp:
- Aug 23, 2010 11:34:18 AM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/Audio/DevCodec.cpp
r31771 r31855 251 251 codecToAudVolume(pAmplifier, AUD_MIXER_VOLUME); 252 252 if (CODEC_NID(cmd) == 0x17) /* Microphone */ 253 codecToAudVolume(pAmplifier, AUD_MIXER_ PCM);253 codecToAudVolume(pAmplifier, AUD_MIXER_LINE_IN); 254 254 } 255 255 return VINF_SUCCESS; … … 1120 1120 { 1121 1121 case AUD_MIXER_VOLUME: 1122 case AUD_MIXER_PCM: 1122 1123 dir = AMPLIFIER_OUT; 1123 1124 break; 1124 case AUD_MIXER_PCM:1125 1125 case AUD_MIXER_LINE_IN: 1126 1126 dir = AMPLIFIER_IN; … … 1263 1263 LogRel (("HDAcodec: WARNING: Unable to open PCM OUT!\n")); 1264 1264 codecToAudVolume(&pState->pNodes[2].dac.B_params, AUD_MIXER_VOLUME); 1265 codecToAudVolume(&pState->pNodes[0x17].adcvol.B_params, AUD_MIXER_ PCM);1265 codecToAudVolume(&pState->pNodes[0x17].adcvol.B_params, AUD_MIXER_LINE_IN); 1266 1266 return VINF_SUCCESS; 1267 1267 } … … 1281 1281 SSMR3GetMem (pSSMHandle, pCodecState->pNodes, sizeof(CODECNODE) * STAC9220_NODE_COUNT); 1282 1282 codecToAudVolume(&pCodecState->pNodes[2].dac.B_params, AUD_MIXER_VOLUME); 1283 codecToAudVolume(&pCodecState->pNodes[0x17].adcvol.B_params, AUD_MIXER_ PCM);1284 return VINF_SUCCESS; 1285 } 1283 codecToAudVolume(&pCodecState->pNodes[0x17].adcvol.B_params, AUD_MIXER_LINE_IN); 1284 return VINF_SUCCESS; 1285 }
Note:
See TracChangeset
for help on using the changeset viewer.