VirtualBox

vbox的更動 61986 路徑 trunk/src/VBox/Main


忽略:
時間撮記:
2016-7-1 下午04:03:33 (8 年 以前)
作者:
vboxsync
訊息:

Main/AudioAdapter: whitespace cleanup

檔案:
修改 1 筆資料

圖例:

未更動
新增
刪除
  • trunk/src/VBox/Main/src-server/AudioAdapterImpl.cpp

    r61380 r61986  
    6060 *  @param aParent  Handle of the parent object.
    6161 */
    62 HRESULT AudioAdapter::init (Machine *aParent)
     62HRESULT AudioAdapter::init(Machine *aParent)
    6363{
    6464    LogFlowThisFunc(("aParent=%p\n", aParent));
     
    103103 *  @note Locks @a aThat object for reading.
    104104 */
    105 HRESULT AudioAdapter::init (Machine *aParent, AudioAdapter *aThat)
     105HRESULT AudioAdapter::init(Machine *aParent, AudioAdapter *aThat)
    106106{
    107107    LogFlowThisFunc(("aParent=%p, aThat=%p\n", aParent, aThat));
     
    116116    unconst(mPeer) = aThat;
    117117
    118     AutoCaller thatCaller (aThat);
     118    AutoCaller thatCaller(aThat);
    119119    AssertComRCReturnRC(thatCaller.rc());
    120120
     
    135135 *  @note Locks @a aThat object for reading.
    136136 */
    137 HRESULT AudioAdapter::initCopy (Machine *aParent, AudioAdapter *aThat)
     137HRESULT AudioAdapter::initCopy(Machine *aParent, AudioAdapter *aThat)
    138138{
    139139    LogFlowThisFunc(("aParent=%p, aThat=%p\n", aParent, aThat));
     
    148148    /* mPeer is left null */
    149149
    150     AutoCaller thatCaller (aThat);
     150    AutoCaller thatCaller(aThat);
    151151    AssertComRCReturnRC(thatCaller.rc());
    152152
     
    316316
    317317            default:
    318                 AssertMsgFailed (("Wrong audio controller type %d\n",
    319                                   aAudioController));
     318                AssertMsgFailed(("Wrong audio controller type %d\n",
     319                                 aAudioController));
    320320                rc = E_FAIL;
    321321        }
     
    381381
    382382        default:
    383             AssertMsgFailed (("Wrong audio controller type %d\n",
    384                               mData->controllerType));
     383            AssertMsgFailed(("Wrong audio controller type %d\n",
     384                             mData->controllerType));
    385385            rc = E_FAIL;
    386386    }
     
    388388    if (!SUCCEEDED(rc))
    389389        return setError(rc,
    390                         tr ("Invalid audio codec type %d"),
     390                        tr("Invalid audio codec type %d"),
    391391                        aAudioCodec);
    392392
     
    535535    /* sanity */
    536536    AutoCaller autoCaller(this);
    537     AssertComRCReturnVoid (autoCaller.rc());
     537    AssertComRCReturnVoid(autoCaller.rc());
    538538
    539539    /* sanity too */
    540     AutoCaller peerCaller (mPeer);
    541     AssertComRCReturnVoid (peerCaller.rc());
     540    AutoCaller peerCaller(mPeer);
     541    AssertComRCReturnVoid(peerCaller.rc());
    542542
    543543    /* lock both for writing since we modify both (mPeer is "master" so locked
     
    562562void AudioAdapter::i_copyFrom(AudioAdapter *aThat)
    563563{
    564     AssertReturnVoid (aThat != NULL);
     564    AssertReturnVoid(aThat != NULL);
    565565
    566566    /* sanity */
    567567    AutoCaller autoCaller(this);
    568     AssertComRCReturnVoid (autoCaller.rc());
     568    AssertComRCReturnVoid(autoCaller.rc());
    569569
    570570    /* sanity too */
    571     AutoCaller thatCaller (aThat);
    572     AssertComRCReturnVoid (thatCaller.rc());
     571    AutoCaller thatCaller(aThat);
     572    AssertComRCReturnVoid(thatCaller.rc());
    573573
    574574    /* peer is not modified, lock it for reading (aThat is "master" so locked
注意: 瀏覽 TracChangeset 來幫助您使用更動檢視器

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