VirtualBox

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


Ignore:
Timestamp:
Aug 4, 2016 11:05:52 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/DevIchHda.cpp

    r62972 r62974  
    38493849        if (pStreamCfg->enmDir == PDMAUDIODIR_IN)
    38503850        {
    3851             LogFunc(("enmRecSource=%ld\n", pStreamCfg->DestSource.Source));
     3851            LogFunc(("enmRecSource=%d\n", pStreamCfg->DestSource.Source));
    38523852
    38533853            switch (pStreamCfg->DestSource.Source)
     
    38683868        else if (pStreamCfg->enmDir == PDMAUDIODIR_OUT)
    38693869        {
    3870             LogFunc(("enmPlaybackDest=%ld\n", pStreamCfg->DestSource.Dest));
     3870            LogFunc(("enmPlaybackDest=%d\n", pStreamCfg->DestSource.Dest));
    38713871
    38723872            switch (pStreamCfg->DestSource.Dest)
     
    39493949
    39503950        AssertPtr(pSink->pMixSink);
    3951         LogFlowFunc(("Sink=%s, enmMixerCtl=%ld\n", pSink->pMixSink->pszName, enmMixerCtl));
     3951        LogFlowFunc(("Sink=%s, enmMixerCtl=%d\n", pSink->pMixSink->pszName, enmMixerCtl));
    39523952    }
    39533953    else
     
    40114011#endif
    40124012                default:
    4013                     AssertMsgFailed(("Mixer control %ld not implemented\n", enmMixerCtl));
     4013                    AssertMsgFailed(("Mixer control %d not implemented\n", enmMixerCtl));
    40144014                    break;
    40154015            }
     
    40304030        rc = VERR_NOT_FOUND;
    40314031
    4032     LogFlowFunc(("enmMixerCtl=%ld, rc=%Rrc\n", enmMixerCtl, rc));
     4032    LogFlowFunc(("enmMixerCtl=%d, rc=%Rrc\n", enmMixerCtl, rc));
    40334033    return rc;
    40344034}
     
    40434043 * @param   uChannel            Channel to set. Only valid if a valid SD stream number is specified.
    40444044 */
    4045 static DECLCALLBACK(int) hdaMixerSetStream(PHDASTATE pThis,
    4046                                            PDMAUDIOMIXERCTL enmMixerCtl, uint8_t uSD, uint8_t uChannel)
     4045static DECLCALLBACK(int) hdaMixerSetStream(PHDASTATE pThis, PDMAUDIOMIXERCTL enmMixerCtl, uint8_t uSD, uint8_t uChannel)
    40474046{
    40484047    LogFlowFunc(("enmMixerCtl=%RU32, uSD=%RU8, uChannel=%RU8\n", enmMixerCtl, uSD, uChannel));
     
    40504049    if (uSD == 0) /* Stream number 0 is reserved. */
    40514050    {
    4052         LogFlowFunc(("Invalid SDn (%RU8) number for mixer control %ld, ignoring\n", uSD, enmMixerCtl));
     4051        LogFlowFunc(("Invalid SDn (%RU8) number for mixer control %d, ignoring\n", uSD, enmMixerCtl));
    40534052        return VINF_SUCCESS;
    40544053    }
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