Changeset 35496 in vbox
- Timestamp:
- Jan 12, 2011 4:29:24 AM (14 years ago)
- Location:
- trunk/src/VBox/Devices/Audio
- Files:
-
- 2 edited
-
DevCodec.cpp (modified) (3 diffs)
-
DevCodec.h (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/Audio/DevCodec.cpp
r35487 r35496 2235 2235 if (!AUD_is_host_voice_in_ok(pState->SwVoiceIn)) 2236 2236 LogRel (("HDA: WARNING: Unable to open PCM IN!\n")); 2237 if (!AUD_is_host_voice_in_ok(pState->voice_mc))2238 LogRel (("HDA: WARNING: Unable to open PCM MC!\n"));2239 2237 if (!AUD_is_host_voice_out_ok(pState->SwVoiceOut)) 2240 2238 LogRel (("HDA: WARNING: Unable to open PCM OUT!\n")); 2241 2239 2242 2240 if ( !AUD_is_host_voice_in_ok(pState->SwVoiceIn) 2243 && !AUD_is_host_voice_out_ok(pState->SwVoiceOut) 2244 && !AUD_is_host_voice_in_ok(pState->voice_mc)) 2241 && !AUD_is_host_voice_out_ok(pState->SwVoiceOut)) 2245 2242 { 2246 2243 /* Was not able initialize *any* voice. Select the NULL audio driver instead */ 2247 2244 AUD_close_in (&pState->card, pState->SwVoiceIn); 2248 2245 AUD_close_out (&pState->card, pState->SwVoiceOut); 2249 AUD_close_in (&pState->card, pState->voice_mc);2250 2246 pState->SwVoiceOut = NULL; 2251 2247 pState->SwVoiceIn = NULL; 2252 pState->voice_mc = NULL;2253 2248 AUD_init_null (); 2254 2249 … … 2258 2253 } 2259 2254 else if ( !AUD_is_host_voice_in_ok(pState->SwVoiceIn) 2260 || !AUD_is_host_voice_out_ok(pState->SwVoiceOut) 2261 || !AUD_is_host_voice_in_ok(pState->voice_mc)) 2255 || !AUD_is_host_voice_out_ok(pState->SwVoiceOut)) 2262 2256 { 2263 2257 char szMissingVoices[128]; … … 2267 2261 if (!AUD_is_host_voice_out_ok(pState->SwVoiceOut)) 2268 2262 len += RTStrPrintf (szMissingVoices + len, sizeof(szMissingVoices) - len, len ? ", PCM_out" : "PCM_out"); 2269 if (!AUD_is_host_voice_in_ok(pState->voice_mc))2270 len += RTStrPrintf (szMissingVoices + len, sizeof(szMissingVoices) - len, len ? ", PCM_mic" : "PCM_mic");2271 2263 2272 2264 PDMDevHlpVMSetRuntimeError (pDevIns, 0 /*fFlags*/, "HostAudioNotResponding", -
trunk/src/VBox/Devices/Audio/DevCodec.h
r35487 r35496 457 457 /** PCM out */ 458 458 SWVoiceOut *SwVoiceOut; 459 /** Mic in */460 SWVoiceIn *voice_mc;461 459 #else 462 460 CODECAUDIOOUTFORMAT aSwVoiceOut;
Note:
See TracChangeset
for help on using the changeset viewer.

