Changeset 63737 in vbox
- Timestamp:
- Sep 6, 2016 8:43:12 AM (8 years ago)
- File:
-
- 1 edited
-
trunk/src/VBox/Devices/Audio/DevSB16.cpp (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/Audio/DevSB16.cpp
r63718 r63737 2419 2419 2420 2420 sb16ResetLegacy(pThis); 2421 2422 PSB16DRIVER pDrv;2423 RTListForEach(&pThis->lstDrv, pDrv, SB16DRIVER, Node)2424 {2425 /*2426 * Only primary drivers are critical for the VM to run. Everything else2427 * might not worth showing an own error message box in the GUI.2428 */2429 if (!(pDrv->Flags & PDMAUDIODRVFLAGS_PRIMARY))2430 continue;2431 2432 PPDMIAUDIOCONNECTOR pCon = pDrv->pConnector;2433 AssertPtr(pCon);2434 2435 /** @todo No input streams available for SB16 yet. */2436 bool fValidOut = pCon->pfnStreamGetStatus(pCon, pDrv->Out.pStream) & PDMAUDIOSTRMSTS_FLAG_INITIALIZED;2437 if (!fValidOut)2438 {2439 LogRel(("SB16: Falling back to NULL backend (no sound audible)\n"));2440 2441 sb16ResetLegacy(pThis);2442 sb16Reattach(pThis, pDrv, pDrv->uLUN, "NullAudio");2443 2444 PDMDevHlpVMSetRuntimeError(pDevIns, 0 /*fFlags*/, "HostAudioNotResponding",2445 N_("No audio devices could be opened. Selecting the NULL audio backend "2446 "with the consequence that no sound is audible"));2447 }2448 }2449 2421 2450 2422 #ifndef VBOX_WITH_AUDIO_SB16_CALLBACKS
Note:
See TracChangeset
for help on using the changeset viewer.

