VirtualBox

Changeset 70536 in vbox for trunk/src/VBox/Main


Ignore:
Timestamp:
Jan 11, 2018 2:00:12 PM (7 years ago)
Author:
vboxsync
Message:

Build fix, trailing spaces.

File:
1 edited

Legend:

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

    r70533 r70536  
    4343
    4444/**
    45  * Returns the next free LUN of the audio device driver 
     45 * Returns the next free LUN of the audio device driver
    4646 * chain.
    47  * 
    48  * @return unsigned             Next free LUN in audio device driver chain.   
     47 *
     48 * @return unsigned             Next free LUN in audio device driver chain.
    4949 */
    5050unsigned AudioDriver::getFreeLUN(void)
     
    7474 * Configures the audio driver (to CFGM) and attaches it to the audio chain.
    7575 *
    76  * @returns IPRT status code. 
    77  * @param   pThis               Audio driver to detach. 
     76 * @returns IPRT status code.
     77 * @param   pThis               Audio driver to detach.
    7878 * @param   pCfg                Audio driver configuration to use for the audio driver to attach.
    7979 */
     
    9595
    9696    LogFunc(("strDevice=%s, uInst=%u, uLUN=%u\n", pCfg->strDev.c_str(), pCfg->uInst, pCfg->uLUN));
    97    
     97
    9898    vrc = pThis->Configure(pCfg, true /* Attach */);
    9999    if (RT_SUCCESS(vrc))
     
    101101
    102102    if (RT_SUCCESS(vrc))
    103     {           
    104         pThis->mfAttached = true;   
    105     }
    106     else               
     103    {
     104        pThis->mfAttached = true;
     105    }
     106    else
    107107        LogRel(("VRDE: Failed to attach audio driver, rc=%Rrc\n", vrc));
    108108
     
    113113 * Detaches an already attached audio driver from the audio chain.
    114114 *
    115  * @returns IPRT status code. 
     115 * @returns IPRT status code.
    116116 * @param   pThis               Audio driver to detach.
    117117 */
     
    132132
    133133    LogFunc(("strDevice=%s, uInst=%u, uLUN=%u\n", pCfg->strDev.c_str(), pCfg->uInst, pCfg->uLUN));
    134    
     134
    135135    vrc = PDMR3DriverDetach(ptrVM.rawUVM(), pCfg->strDev.c_str(), pCfg->uInst, pCfg->uLUN, "AUDIO",
    136136                            0 /* iOccurrence */, 0 /* fFlags */);
     
    154154 *
    155155 * @returns VBox status code.
    156  * @param   strDevice           The PDM device name.
    157  * @param   uInstance           The PDM device instance.
    158  * @param   uLUN                The PDM LUN number of the driver.
     156 * @param   pCfg                Audio driver configuration to use.
    159157 * @param   fAttach             Whether to attach or detach the driver configuration to CFGM.
    160158 *
     
    187185    {
    188186        if (!pDevLun)
    189         {         
     187        {
    190188            LogRel2(("VRDE: Configuring audio driver\n"));
    191189
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