VirtualBox

Changeset 87980 in vbox


Ignore:
Timestamp:
Mar 5, 2021 5:19:42 PM (4 years ago)
Author:
vboxsync
Message:

Audio/HDA: Changed LogRel() statements in hdaR3StreamSetUp() being LogRelMax(32, ...) to avoid log flooding by erroneous guest drivers.

File:
1 edited

Legend:

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

    r87978 r87980  
    301301         * Note: This also involves dealing with surround setups the guest might has set up for us.
    302302         */
    303         LogRelMax(32, ("HDA: Warning: More than stereo (2) channels are not supported (%RU8 requested), "
    304                        "falling back to stereo channels for stream #%RU8\n", Props.cChannels, uSD));
     303        LogRelMax(32, ("HDA: Warning: More than stereo (2) channels are not supported (%RU8 requested), falling back to stereo channels for stream #%RU8\n",
     304                       Props.cChannels, uSD));
    305305        Props.cChannels = 2;
    306306        Props.cShift    = PDMAUDIOPCMPROPS_MAKE_SHIFT_PARMS(Props.cbSample, Props.cChannels);
     
    558558
    559559    if (uTransferHz > 400) /* Anything above 400 Hz looks fishy -- tell the user. */
    560         LogRelMax(32, ("HDA: Warning: Calculated transfer Hz rate for stream #%RU8 looks incorrect (%u), "
    561                        "please re-run with audio debug mode and report a bug\n",
     560        LogRelMax(32, ("HDA: Warning: Calculated transfer Hz rate for stream #%RU8 looks incorrect (%u), please re-run with audio debug mode and report a bug\n",
    562561                       uSD, uTransferHz));
    563562
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