VirtualBox

Changeset 59192 in vbox


Ignore:
Timestamp:
Dec 18, 2015 3:21:42 PM (9 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
104813
Message:

Audio/DevIchHda.cpp: Lowered timer Hertz rate from 500Hz to 200Hz by default.

File:
1 edited

Legend:

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

    r59191 r59192  
    43124312#ifndef VBOX_WITH_AUDIO_CALLBACKS
    43134313    uint16_t uTimerHz;
    4314     rc = CFGMR3QueryU16Def(pCfgHandle, "TimerHz", &uTimerHz, 500 /* Hz */);
     4314    rc = CFGMR3QueryU16Def(pCfgHandle, "TimerHz", &uTimerHz, 200 /* Hz */);
    43154315    if (RT_FAILURE(rc))
    43164316        return PDMDEV_SET_ERROR(pDevIns, rc,
     
    46204620        if (RT_SUCCESS(rc))
    46214621        {
    4622             /** @todo Investigate why sounds is getting corrupted if the "ticks" value is too
    4623              *        low, e.g. "PDMDevHlpTMTimeVirtGetFreq / 200".
    4624              *  Update: Because the guest doesn't prepare enough data at a time. */
    46254622            pThis->cTimerTicks = TMTimerGetFreq(pThis->pTimer) / uTimerHz;
    46264623            pThis->uTimerTS    = TMTimerGet(pThis->pTimer);
Note: See TracChangeset for help on using the changeset viewer.

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