VirtualBox

Changeset 239 in vbox


Ignore:
Timestamp:
Jan 23, 2007 2:08:17 PM (18 years ago)
Author:
vboxsync
Message:

use the new runtime error report mechanism to warn the user if the audio device does not respond

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Devices/Audio/DevIchAc97.cpp

    r1 r239  
    16641664    if (!pData->ac97.voice_mc)
    16651665        LogRel(("AC97: WARNING: Unable to open PCM MC!\n"));
     1666
     1667    if (!pData->ac97.voice_pi || !pData->ac97.voice_po || !pData->ac97.voice_mc)
     1668        VMSetRuntimeError(pDevIns->pDevHlp->pfnGetVM(pDevIns), false,
     1669                          N_("Some audio devices could not be opened. Guest applications "
     1670                             "generating audio output or depending on audio input may hang. "
     1671                             "Make sure your host audio device is working properly."),
     1672                          "HostAudioNotResponding");
    16661673
    16671674    return VINF_SUCCESS;
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette