VirtualBox

Changeset 62978 in vbox for trunk/src/VBox/Devices/Audio


Ignore:
Timestamp:
Aug 4, 2016 11:07:41 AM (8 years ago)
Author:
vboxsync
Message:

enums defaults to int, so use '%d' and not '%ld' to prinft them!

File:
1 edited

Legend:

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

    r62968 r62978  
    458458    }
    459459
    460     LogFlowFunc(("[%s]: fFlags=0x%x (enmDir=%ld, %s, %RU8 channels, %RU32Hz)\n",
     460    LogFlowFunc(("[%s]: fFlags=0x%x (enmDir=%d, %s, %RU8 channels, %RU32Hz)\n",
    461461                 pSink->pszName, fFlags, pCfg->enmDir, DrvAudioHlpAudFmtToStr(pCfg->enmFormat), pCfg->cChannels, pCfg->uHz));
    462462
     
    537537    }
    538538
    539     AssertMsgFailed(("Unsupported sink command %ld\n", enmCmd));
     539    AssertMsgFailed(("Unsupported sink command %d\n", enmCmd));
    540540    return PDMAUDIOSTREAMCMD_UNKNOWN;
    541541}
     
    582582        audioMixerSinkReset(pSink);
    583583
    584     LogFlowFunc(("[%s]: enmCmd=%ld, fStatus=0x%x, rc=%Rrc\n", pSink->pszName, enmSinkCmd, pSink->fStatus, rc));
     584    LogFlowFunc(("[%s]: enmCmd=%d, fStatus=0x%x, rc=%Rrc\n", pSink->pszName, enmSinkCmd, pSink->fStatus, rc));
    585585    return rc;
    586586}
     
    12731273              ("Can't write to a sink which is not an output sink\n"));
    12741274
    1275     LogFlowFunc(("%s: enmOp=%ld, cbBuf=%RU32\n", pSink->pszName, enmOp, cbBuf));
     1275    LogFlowFunc(("%s: enmOp=%d, cbBuf=%RU32\n", pSink->pszName, enmOp, cbBuf));
    12761276
    12771277    uint32_t cbProcessed;
     
    13271327    /** @todo Validate fCtl. */
    13281328
    1329     LogFlowFunc(("[%s] enmCmd=%ld\n", pMixStream->pszName, enmCmd));
     1329    LogFlowFunc(("[%s] enmCmd=%d\n", pMixStream->pszName, enmCmd));
    13301330
    13311331    return pMixStream->pConn->pfnStreamControl(pMixStream->pConn, pMixStream->pStream, enmCmd);
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