VirtualBox

Changeset 89595 in vbox


Ignore:
Timestamp:
Jun 10, 2021 10:24:22 AM (3 years ago)
Author:
vboxsync
Message:

ConsoleImpl2.cpp: BOOL -> bool nit. bugref:9890

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Main/src-client/ConsoleImpl2.cpp

    r89592 r89595  
    32263226
    32273227            InsertConfigNodeF(pInst, &pLunL0, "LUN#%u", idxAudioLun);
    3228             i_configAudioDriver(virtualBox, pMachine, pLunL0, pszAudioDriver, fAudioEnabledIn, fAudioEnabledOut);
     3228            i_configAudioDriver(virtualBox, pMachine, pLunL0, pszAudioDriver, !!fAudioEnabledIn, !!fAudioEnabledOut);
    32293229            idxAudioLun++;
    32303230
     
    32333233            InsertConfigNodeF(pInst, &pLunL0, "LUN#%u", idxAudioLun);
    32343234            InsertConfigString(pLunL0, "Driver", "AUDIO");
    3235             AudioDriverCfg DrvCfgVRDE(pszAudioDevice, 0 /* Instance */, idxAudioLun, "AudioVRDE", fAudioEnabledIn, fAudioEnabledOut);
     3235            AudioDriverCfg DrvCfgVRDE(pszAudioDevice, 0 /* Instance */, idxAudioLun, "AudioVRDE",
     3236                                      !!fAudioEnabledIn, !!fAudioEnabledOut);
    32363237            rc = mAudioVRDE->InitializeConfig(&DrvCfgVRDE);
    32373238            AssertRCStmt(rc, throw ConfigError(__FUNCTION__, rc, "mAudioVRDE->InitializeConfig failed"));
     
    32693270# endif /* VBOX_WITH_AUDIO_VALIDATIONKIT */
    32703271                    InsertConfigNodeF(pInst, &pLunL0, "LUN#%u", idxAudioLun);
    3271                     i_configAudioDriver(virtualBox, pMachine, pLunL0, "DebugAudio", fAudioEnabledIn, fAudioEnabledOut);
     3272                    i_configAudioDriver(virtualBox, pMachine, pLunL0, "DebugAudio", !!fAudioEnabledIn, !!fAudioEnabledOut);
    32723273                    idxAudioLun++;
    32733274# ifdef VBOX_WITH_AUDIO_VALIDATIONKIT
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