VirtualBox

Changeset 73561 in vbox


Ignore:
Timestamp:
Aug 8, 2018 12:59:57 PM (6 years ago)
Author:
vboxsync
Message:

Audio/Mixer: Logging.

File:
1 edited

Legend:

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

    r73557 r73561  
    14451445    memcpy(&pSink->Volume, pVol, sizeof(PDMAUDIOVOLUME));
    14461446
    1447     LogFlowFunc(("[%s] fMuted=%RTbool, lVol=%RU32, rVol=%RU32\n",
     1447    LogFlowFunc(("[%s] fMuted=%RTbool, lVol=%RU8, rVol=%RU8\n",
    14481448                 pSink->pszName, pSink->Volume.fMuted, pSink->Volume.uLeft, pSink->Volume.uRight));
     1449
     1450    LogRel2(("Mixer: Setting volume of sink '%s' to %RU8/%RU8 (%s)\n",
     1451             pSink->pszName, pVol->uLeft, pVol->uRight, pVol->fMuted ? "Muted" : "Unmuted"));
    14491452
    14501453    AssertPtr(pSink->pParent);
     
    16721675            LogFunc(("[%s] Warning: Only written %RU32/%RU32 bytes for stream '%s'\n",
    16731676                     pSink->pszName, cbWritten, cbBuf, pMixStream->pszName));
    1674             LogRel2(("Audio: Buffer overrun for mixer stream '%s' (sink '%s')\n", pMixStream->pszName, pSink->pszName));
     1677            LogRel2(("Mixer: Buffer overrun for mixer stream '%s' (sink '%s')\n", pMixStream->pszName, pSink->pszName));
    16751678#ifdef DEBUG_andy
    16761679            AssertFailed();
     
    17801783        || cbWritten < cbBuf)
    17811784    {
    1782         LogRel2(("Audio: Buffer overrun for mixer sink '%s' (only %RU32/%RU32 bytes written)\n",
     1785        LogRel2(("Mixer: Buffer overrun for mixer sink '%s' (only %RU32/%RU32 bytes written)\n",
    17831786                 pSink->pszName, cbWritten, cbBuf));
    17841787# ifdef DEBUG_andy
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